/* WeddingBallad brand layer: tokens, fonts and logo helpers.
   Load before styles.css. Fonts: SIL Open Font License 1.1 (see README). */

@font-face { font-family: "Bodoni Moda"; src: url("/fonts/BodoniModa-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/BodoniModa-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/BodoniModa-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* brand */
  --wb-black: #141414;       /* his ring, text, primary buttons */
  --wb-blue: #8FB3DE;        /* her ring; decoration only, never text (2.2:1 on white) */
  --wb-blue-ink: #3D5F8F;    /* links and small accent text (6.5:1 on white) */
  --wb-mist: #DCE8F5;        /* tinted panels, envelope backs */
  --wb-wash: #F3F7FC;        /* soft section ground */

  /* existing names in styles.css, remapped */
  --bg: #FFFFFF;
  --bg2: var(--wb-wash);
  --bg3: var(--wb-mist);
  --ink: var(--wb-black);
  --muted: #4B5563;          /* 7.6:1 */
  --faint: #5B6270;          /* 6.1:1 on white, 5.7:1 on --wb-wash, 4.9:1 on --wb-mist (was #6B7280, which fell below 4.5:1 on mist) */
  --card: #FFFFFF;
  --card2: var(--wb-wash);
  --line: #E5E7EB;
  --rose: var(--wb-blue-ink);   /* retired name, kept so old rules still resolve */
  --coral: var(--wb-blue);      /* retired name */
  --gold: var(--wb-blue-ink);   /* retired name */
  --grad: none;                 /* retired: no gradients */
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 999px;              /* pill buttons */
}

a { color: var(--wb-blue-ink); }
a:hover { color: var(--wb-black); }

/* Logo in the site header. Use lockup-horizontal-color.svg (viewBox 644×102, ratio ~6.3:1). */
.wb-logo { display: inline-flex; align-items: center; min-height: 44px; }
.wb-logo img { display: block; height: 30px; width: auto; }
@media (min-width: 1100px) { .wb-logo img { height: 44px; } }

/* Partner co-brand: [partner logo] x [WeddingBallad] */
.cobrand { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cobrand__partner { object-fit: contain; width: 150px; height: 44px; }       /* wide: aspect > 1.6 */
.cobrand__partner[data-shape="square"] { width: 60px; height: 60px; }       /* 0.8 to 1.6 */
.cobrand__partner[data-shape="tall"] { width: 56px; height: 84px; }         /* < 0.8 */
.cobrand__x { font: 400 26px/1 var(--serif); color: var(--faint); }
.cobrand__wb { height: 40px; width: auto; }
