/* ==========================================================================
   Bel Canto Design — Partner Marketing Portal
   Static stylesheet. No build step, no preprocessor.
   ========================================================================== */

/* Inter is self-hosted under assets/fonts — the page makes no external requests. */
@import url('fonts.css');

:root {
  --bc-red: #e91a0d;
  --bc-red-dark: #b81208;
  --bc-black: #000000;
  --bc-near-black: #0a0a0a;
  --bc-white: #ffffff;

  /* Dark theme surfaces */
  --bc-bg: #0c0c0c;
  --bc-surface: #161616;
  --bc-surface-2: #1e1e1e;
  /* Product photography is flattened onto a white background in the source
     files, so image tiles keep a light fill regardless of page theme. */
  --bc-image-bg: #f1f1f1;

  /* Text */
  --bc-ink: #f2f2f2;
  --bc-text-body: #cfcfcf;
  --bc-grey-100: #f1f1f1;
  --bc-grey-200: #2a2a2a;
  --bc-grey-400: #9a9a9a;
  --bc-grey-600: #b0b0b0;

  --bc-max: 1500px;
  --bc-gutter: 4vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bc-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--bc-max);
  margin: 0 auto;
  padding: 0 var(--bc-gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--bc-black);
  color: var(--bc-white);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px var(--bc-gutter);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bc-black);
  border-bottom: 3px solid var(--bc-red);
  padding: 22px 0 18px;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border: 2px solid var(--bc-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-white);
}

.icon-circle:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
  text-decoration: none;
}

.icon-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-center {
  text-align: center;
}

.header-logo img {
  height: 46px;
  width: auto;
  margin: 0 auto;
}

.header-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
}

.header-nav a {
  color: var(--bc-white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-nav a:hover {
  color: var(--bc-red);
  text-decoration: none;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--bc-red);
  color: var(--bc-red);
  background: transparent;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.btn-outline:hover {
  background: var(--bc-red);
  color: var(--bc-white);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--bc-near-black);
  color: var(--bc-white);
  padding: 74px 0 66px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.hero h1 strong {
  font-weight: 700;
}

.hero .kicker {
  color: var(--bc-red);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 18px;
}

.hero p.lede {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 300;
  color: #d8d8d8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #262626;
}

.hero-meta div span {
  display: block;
}

.hero-meta .num {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.hero-meta .lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bc-grey-400);
  margin-top: 6px;
}

/* ---------- Sticky product nav ---------- */

.product-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bc-surface);
  border-bottom: 1px solid var(--bc-grey-200);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.product-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.product-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-nav-links a {
  color: var(--bc-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid transparent;
}

.product-nav-links a:hover,
.product-nav-links a.is-active {
  border-color: var(--bc-red);
  color: var(--bc-red);
  text-decoration: none;
}

.search-field {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.search-field input {
  width: 100%;
  border: 1px solid var(--bc-grey-200);
  background: var(--bc-surface-2);
  border-radius: 0;
  padding: 11px 14px 11px 38px;
  font: inherit;
  font-size: 14px;
  color: var(--bc-ink);
}

.search-field input::placeholder {
  color: var(--bc-grey-400);
}

.search-field input:focus {
  outline: none;
  border-color: var(--bc-red);
}

.search-field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--bc-grey-600);
  pointer-events: none;
}

/* ---------- Product sections ---------- */

.product {
  padding: 82px 0 10px;
  border-top: 1px solid var(--bc-grey-200);
}

.product:first-of-type {
  border-top: 0;
}

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.product-head .eyebrow {
  color: var(--bc-red);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 14px;
}

.product-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.product-head .tagline {
  font-size: 20px;
  font-weight: 300;
  color: var(--bc-grey-600);
  margin: 12px 0 0;
}

.product-head .desc {
  margin: 20px 0 0;
  max-width: 56ch;
  color: var(--bc-text-body);
}

.product-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bc-red);
  color: var(--bc-white);
  border: 1px solid var(--bc-red);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-solid:hover {
  background: var(--bc-red-dark);
  border-color: var(--bc-red-dark);
  color: var(--bc-white);
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--bc-ink);
  border: 1px solid var(--bc-ink);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--bc-ink);
  color: var(--bc-bg);
  text-decoration: none;
}

.btn-solid svg,
.btn-ghost svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.product-hero-img {
  background: var(--bc-image-bg);
  border: 1px solid var(--bc-grey-200);
  padding: 26px;
}

.product-hero-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Category + asset grid ---------- */

.category {
  margin-top: 54px;
}

.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--bc-grey-200);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.category-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-head .count {
  font-size: 13px;
  color: var(--bc-grey-600);
  letter-spacing: 0.04em;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.asset-card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-grey-200);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.asset-card:hover {
  border-color: var(--bc-red);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.asset-thumb {
  position: relative;
  background: var(--bc-image-bg);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.35s ease;
}

.asset-card:hover .asset-thumb img {
  transform: scale(1.03);
}

.asset-thumb .zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.asset-card:hover .zoom-hint {
  opacity: 1;
}

.asset-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.asset-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.asset-meta {
  font-size: 12px;
  color: var(--bc-grey-600);
  letter-spacing: 0.04em;
  margin: 0;
}

.asset-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.link-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-white);
  background: var(--bc-red);
  padding: 10px 14px;
}

.link-download:hover {
  background: var(--bc-red-dark);
  color: var(--bc-white);
  text-decoration: none;
}

.link-download svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.link-secondary-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-ink);
  background: transparent;
  border: 1px solid var(--bc-grey-200);
  padding: 10px 14px;
}

.link-secondary-download:hover {
  border-color: var(--bc-ink);
  color: var(--bc-ink);
  text-decoration: none;
}

.link-secondary-download svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.asset-meta-tif {
  color: var(--bc-grey-400) !important;
}

.tif-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-ink);
  border: 1px solid var(--bc-grey-200);
  background: transparent;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
}

.link-secondary:hover {
  border-color: var(--bc-ink);
  text-decoration: none;
}

.no-results {
  display: none;
  padding: 60px 0;
  text-align: center;
  color: var(--bc-grey-600);
}

body.is-filtering .no-results.is-visible {
  display: block;
}

/* ---------- Usage notes ---------- */

.notes {
  margin-top: 90px;
  background: var(--bc-surface);
  border: 1px solid var(--bc-grey-200);
  padding: 44px;
}

.notes h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 26px;
}

.notes-grid h4 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-red);
}

.notes-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--bc-text-body);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bc-black);
  color: var(--bc-white);
  margin-top: 90px;
  padding: 66px 0 34px;
  border-top: 3px solid var(--bc-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-address {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 300;
  color: #d0d0d0;
  line-height: 1.8;
}

.footer-address a {
  color: #d0d0d0;
}

.footer-address a:hover {
  color: var(--bc-red);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bc-grey-400);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--bc-white);
  font-size: 15px;
  font-weight: 300;
}

.footer-col a:hover {
  color: var(--bc-red);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #1f1f1f;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--bc-grey-400);
}

.footer-bottom a {
  color: var(--bc-grey-400);
}

.footer-bottom a:hover {
  color: var(--bc-red);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 92px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 24px;
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.lightbox-title {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.lightbox-title span {
  display: block;
  color: var(--bc-grey-400);
  font-size: 12px;
  margin-top: 3px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid #3a3a3a;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border: 1px solid var(--bc-grey-200);
  background: var(--bc-surface);
  color: var(--bc-ink);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.to-top.is-visible {
  display: flex;
}

.to-top:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
}

.to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .product-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --bc-gutter: 6vw;
  }

  .header-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .header-actions {
    justify-content: center;
  }

  .header-nav a {
    font-size: 15px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero-meta {
    gap: 26px;
  }

  .product {
    padding-top: 58px;
  }

  .notes {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .search-field {
    flex: 1 1 100%;
  }
}

@media print {
  .product-nav,
  .to-top,
  .lightbox {
    display: none !important;
  }
}
