import type { BrandCopy } from "@/lib/brand";

/** Thin dark band with the brand mark and "Buy · Sell · Invest". */
export default function BrandBand({ copy, className = "" }: { copy: BrandCopy; className?: string }) {
  return (
    <div className={`border-y border-cream/10 bg-ink text-cream ${className}`}>
      <div className="mx-auto flex max-w-7xl flex-col items-center justify-center gap-4 px-5 py-7 sm:flex-row sm:gap-8 md:px-8">
        {/* eslint-disable-next-line @next/next/no-img-element */}
        <img src="/brand/logo-mark-cream.svg" alt="" aria-hidden width={44} height={28} className="h-7 w-auto opacity-90" />
        <span aria-hidden className="hidden h-px w-12 bg-gold sm:block" />
        <p className="flex items-center gap-4 text-[0.7rem] tracking-[0.4em] text-gold-light uppercase">
          {copy.pillars.map((pillar, i) => (
            <span key={pillar} className="flex items-center gap-4">
              {i > 0 && <span aria-hidden className="text-cream/40">·</span>}
              {pillar}
            </span>
          ))}
        </p>
        <span aria-hidden className="hidden h-px w-12 bg-gold sm:block" />
        <p className="text-center font-serif text-lg text-cream/85 italic">{copy.signature}</p>
      </div>
    </div>
  );
}
