/* BCD Digital — design system */
:root {
  --orange: #E39622;
  --orange-hover: #C77F12;
  --charcoal: #1D1D1D;
  --ink: #1A1A1A;
  --offwhite: #F7F7F5;
  --white: #FFFFFF;
  --grey: #6B6B6B;
  --divider: #E0E0E0;
  --max: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--off { background: var(--offwhite); }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
h1.display { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.02em; line-height: 1.05; }
h1.page-title { font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.015em; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; line-height: 1.6; text-wrap: pretty; }
.lead { font-size: 19px; color: var(--grey); line-height: 1.5; max-width: 60ch; }
.section--dark .lead { color: #B5B5B5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--grey);
}
.section--dark .eyebrow { color: #9C9C9C; }
.eyebrow::before {
  content: ""; display: inline-block;
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 8px solid var(--orange);
}

.metric-num {
  font-weight: 700; color: var(--orange);
  font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.metric-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }
.section--dark .metric-label { color: #9C9C9C; }

.highlight-orange { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 4px; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary { background: transparent; border: 1.5px solid var(--orange); color: var(--orange); }
.btn--secondary:hover { background: var(--orange); color: #fff; }
.btn--ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,0.3); padding: 15px 26px; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--full { width: 100%; }
.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--divider);
}
.hdr--dark {
  background: rgba(29,29,29,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
.brand-logo {
  height: 36px; width: auto; display: block; flex: 0 0 auto;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 4px;
  background: var(--charcoal);
  display: grid; place-items: center; flex: 0 0 auto;
}
.hdr--dark .brand-mark { background: var(--orange); }
.brand-tri {
  width: 0; height: 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 14px solid var(--orange);
}
.hdr--dark .brand-tri { border-bottom-color: var(--charcoal); }
.brand-text small { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 2px; }
.hdr--dark .brand-text small { color: #9C9C9C; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink);
  border-radius: 4px;
}
.hdr--dark .nav a { color: rgba(255,255,255,0.85); }
.nav a:hover { color: var(--orange); }
.nav a.active { color: var(--orange); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--orange);
}
.nav .btn { margin-left: 8px; padding: 11px 18px; font-size: 14px; }

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 4px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px auto; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--divider);
    padding: 12px 24px 20px;
  }
  .hdr--dark .nav.open { background: var(--charcoal); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--divider); }
  .hdr--dark .nav.open a { border-bottom-color: rgba(255,255,255,0.08); }
  .nav.open .btn { margin: 12px 0 0; padding: 14px 18px; }
  /* Logo: explicit width avoids any mobile-browser aspect-ratio quirks where
     "height + width:auto" can fall back to intrinsic image width. */
  .brand-logo { height: 32px; width: 47px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text small { display: none; }
}

/* Footer */
.ftr { background: var(--charcoal); color: rgba(255,255,255,0.78); padding: 80px 0 32px; }
.ftr-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ftr h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.ftr-blurb { max-width: 36ch; color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.6; margin-top: 16px; }
.ftr-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ftr-list a:hover { color: var(--orange); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.5); }
@media (max-width: 720px) {
  .ftr-grid { grid-template-columns: 1fr; gap: 36px; }
  .ftr-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--charcoal); color: #fff;
  padding: 140px 0 120px;
}
.hero-tri {
  position: absolute; right: -120px; bottom: -80px;
  width: 0; height: 0;
  border-left: 320px solid transparent; border-right: 320px solid transparent;
  border-bottom: 540px solid var(--orange);
  opacity: 0.10; pointer-events: none;
  transform: rotate(15deg);
}
.hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hero h1 { color: #fff; }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.72); max-width: 60ch; line-height: 1.5; }
.hero-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 32px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; margin-right: 10px; vertical-align: middle; }

/* Proof strip */
.proof {
  background: var(--charcoal); color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0;
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.proof-grid .metric-num { color: var(--orange); }
.proof-grid .metric-label { color: rgba(255,255,255,0.6); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }

/* Two-col header */
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: end; margin-bottom: 64px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; align-items: start; } }

/* Service cards (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--divider); border-radius: 6px;
  padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.svc-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.svc-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--offwhite); border: 1px solid var(--divider); border-radius: 4px;
}
.svc-icon-tri {
  width: 0; height: 0;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-bottom: 15px solid var(--orange);
}
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--grey); font-size: 15px; }
.svc-card .lnk {
  margin-top: auto; font-weight: 600; color: var(--orange); display: inline-flex; gap: 8px; align-items: center; font-size: 14px;
}
.svc-card .lnk:hover .arrow { transform: translateX(3px); }
.svc-card .arrow { transition: transform 160ms ease; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* Process */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.proc-step { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
.proc-num {
  font-size: 14px; font-weight: 700; color: var(--orange); letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.proc-step h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.proc-step p { color: rgba(255,255,255,0.65); font-size: 15px; }
@media (max-width: 860px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-grid { grid-template-columns: 1fr; } }

/* Founder note */
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.founder-photo {
  background: var(--offwhite); aspect-ratio: 4/5; border-radius: 4px;
  background-image: repeating-linear-gradient(135deg, #EBEAE5 0 12px, #F7F7F5 12px 24px);
  display: grid; place-items: center;
  border: 1px solid var(--divider);
}
.founder-photo span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--grey); }
.founder blockquote {
  margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.5; letter-spacing: -0.005em;
}
.founder-name { margin-top: 28px; font-size: 14px; font-weight: 600; }
.founder-name small { display: block; font-weight: 400; color: var(--grey); margin-top: 4px; font-size: 13px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 32px; } }

/* Final CTA block */
.final-cta { background: var(--charcoal); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.final-cta-tri {
  position: absolute; left: -100px; top: -60px;
  width: 0; height: 0;
  border-left: 200px solid transparent; border-right: 200px solid transparent;
  border-bottom: 320px solid var(--orange);
  opacity: 0.08; pointer-events: none; transform: rotate(-20deg);
}
.final-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 48px; align-items: center; }
.final-cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
@media (max-width: 760px) { .final-cta-inner { grid-template-columns: 1fr; } }

/* Insight callout (orange left border) */
.callout {
  background: var(--offwhite);
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  font-size: 15px;
}
.callout strong { font-weight: 700; }
.callout-label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }

/* Services page deep blocks */
.svc-block { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--divider); }
.svc-block:first-child { border-top: none; padding-top: 0; }
.svc-block-meta { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 14px; }
.svc-block h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.svc-block-tag { font-size: 17px; color: var(--grey); margin-bottom: 24px; }
.svc-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.svc-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  font-size: 15px; line-height: 1.55;
}
.svc-list li::before {
  content: ""; width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 10px solid var(--orange);
  margin-top: 8px;
}
.svc-meta-row { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--divider); }
.svc-meta-row .metric-label { margin-top: 0; }
.svc-meta-row .metric-val { font-size: 17px; font-weight: 600; margin-top: 6px; }
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; gap: 28px; } }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--divider); vertical-align: top; }
.cmp th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.cmp thead th:not(:first-child) { color: var(--ink); font-size: 17px; letter-spacing: -0.005em; text-transform: none; font-weight: 700; }
.cmp tbody th { color: var(--grey); font-weight: 600; width: 22%; }
.cmp td { font-weight: 400; }
.cmp tbody tr:hover { background: var(--offwhite); }
@media (max-width: 720px) {
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 12px 10px; }
}

/* Form */
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--divider); border-radius: 6px; padding: 40px; }
.form-row { display: grid; gap: 8px; margin-bottom: 22px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row.two > .form-row { margin-bottom: 0; }
.form-row label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.form-row label .opt { font-weight: 400; color: var(--grey); margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--offwhite); border: 1px solid var(--divider);
  padding: 14px 16px; border-radius: 4px; width: 100%;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.form-row textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(227,150,34,0.18); background: #fff;
}
.form-row .err { color: #B33A1A; font-size: 13px; margin-top: 4px; }
.form-row input.invalid, .form-row select.invalid, .form-row textarea.invalid { border-color: #B33A1A; }
.form-help { font-size: 13px; color: var(--grey); margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--divider); background: #fff; padding: 9px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: border-color 120ms, color 120ms, background 120ms;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.form-aside { display: flex; flex-direction: column; gap: 16px; }
.faq {
  border-top: 1px solid var(--divider); padding: 20px 0; cursor: pointer;
}
.faq:first-child { border-top: none; padding-top: 0; }
.faq-q { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-weight: 600; font-size: 16px; }
.faq-toggle { color: var(--orange); font-size: 20px; line-height: 1; transition: transform 160ms; flex: 0 0 auto; }
.faq.open .faq-toggle { transform: rotate(45deg); }
.faq-a { font-size: 15px; color: var(--grey); margin-top: 0; max-height: 0; overflow: hidden; transition: max-height 220ms ease, margin-top 220ms ease; }
.faq.open .faq-a { max-height: 240px; margin-top: 12px; }

@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; gap: 40px; } .form-card { padding: 28px; } .form-row.two { grid-template-columns: 1fr; } }

/* Success state */
.form-success { text-align: center; padding: 24px 0; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; color: #fff; font-size: 28px; margin: 0 auto 20px;
}

/* About page */
.about-hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; padding: 96px 0; }
.about-hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
.about-hero h1 em { font-style: normal; color: var(--orange); }
.about-photo { aspect-ratio: 4/5; border-radius: 4px; background-image: repeating-linear-gradient(135deg, #EBEAE5 0 12px, #F7F7F5 12px 24px); border: 1px solid var(--divider); display: grid; place-items: center; }
.about-photo span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--grey); }

.story { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.story p { margin-bottom: 22px; font-size: 17px; line-height: 1.65; }
.story p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .about-hero, .story { grid-template-columns: 1fr; gap: 32px; } }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.principle {
  border-top: 2px solid var(--orange); padding-top: 24px;
}
.principle .pn { font-size: 13px; letter-spacing: 0.14em; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.principle h3 { font-size: 22px; margin-bottom: 12px; }
.principle p { color: var(--grey); font-size: 15px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 24px; } }

/* Logos / credentials */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.logo-cell {
  border: 1px solid var(--divider); height: 80px; display: grid; place-items: center;
  font-size: 13px; color: var(--grey); letter-spacing: 0.06em; font-weight: 600;
  background: #fff;
}
.logo-cell .ph { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
@media (max-width: 720px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Chart styles removed — chart section permanently deleted */

/* Case study feature */
.case-feature {
  margin-top: 48px;
  background: #fff; border: 1px solid var(--divider); border-radius: 6px;
  padding: 40px;
}
.case-feature-head { padding-bottom: 28px; border-bottom: 1px solid var(--divider); margin-bottom: 28px; }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--divider); margin-bottom: 28px; }
.case-stats .metric-num { font-size: clamp(36px, 4vw, 56px); }
.case-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-link {
  border: 1px solid var(--divider); border-radius: 4px;
  padding: 22px 22px 20px; background: var(--offwhite);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
  text-decoration: none; color: var(--ink);
}
.case-link:hover { border-color: var(--orange); transform: translateY(-2px); background: #fff; }
.case-link-platform { font-size: 17px; font-weight: 700; letter-spacing: -0.005em; }
.case-link-desc { font-size: 14px; color: var(--grey); }
.case-link-arrow { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--orange); letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .case-feature { padding: 28px; }
  .case-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .case-link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .case-link-grid { grid-template-columns: 1fr; } }

/* Brand carousel */
.brand-strip { padding: 56px 0; overflow: hidden; }
.brand-strip-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.brand-track-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.brand-track {
  display: flex; gap: 0;
  width: max-content;
  animation: brand-scroll 48s linear infinite;
}
.brand-strip:hover .brand-track { animation-play-state: paused; }
.brand-cell {
  flex: 0 0 auto;
  min-width: 220px;
  height: 80px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 0 28px;
  white-space: nowrap;
  transition: color 200ms ease;
}
.brand-cell:hover { color: var(--orange); }
.brand-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 3px 7px; border-radius: 3px;
  line-height: 1;
}
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .brand-cell { min-width: 160px; font-size: 15px; padding: 0 20px; height: 64px; }
  .brand-track { animation-duration: 36s; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* Skip link */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 4px; }

/* Page transitions */
.page-enter { animation: pageIn 320ms ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tweak button (panel toggle) */
.note { font-size: 13px; color: var(--grey); }

/* small responsive tweaks */
@media (max-width: 520px) {
  .section { padding: 80px 0; }
  .hero { padding: 96px 0 80px; }
  .wrap { padding: 0 22px; }
  .form-card { padding: 22px; }
}
