/**
 * WaveMachine Labs Dark — Drumagog Dark on a black ground, for the
 * wavemachinelabs.com home page and every page served on that domain (owner,
 * 2026-09-30: "Redo the wavemachinelabs site with the drumagog 6 image at the
 * top ... and make the theme black").
 *
 * drumagog_dark/css/dark.css does all the component work through its --dg-*
 * tokens; this file repoints those tokens (and the Bootstrap variables that
 * carry literal RGB triplets) at neutral blacks and grays, so nothing here is
 * navy. The call-to-action accent stays Drumagog 6's coral with dark label
 * text, exactly as dark.css wires it.
 */

:root {
  --dg-bg0: #000000;          /* header and footer: one black ground with the page */
  --dg-bg1: #000000;          /* page */
  --dg-bg2: #111111;          /* raised panels (.bg-light) */
  --dg-card: #151515;
  --dg-card-hi: #1f1f1f;
  --dg-field: #2b2b2b;        /* lighter than the cards: where to type is obvious */
  --dg-field-border: rgba(255, 255, 255, 0.30);
  --dg-line: rgba(255, 255, 255, 0.12);
  --dg-line-soft: rgba(255, 255, 255, 0.06);
  --dg-ink: #ffffff;
  --dg-body: #e4e4e4;
  --dg-dim: #a8a8a8;
  --dg-blue: #6fb4ff;

  --beo-body-bg: var(--dg-bg1);
  --beo-body-bg-rgb: 0, 0, 0;
  --beo-body-color: var(--dg-body);
  --beo-body-color-rgb: 228, 228, 228;
  --beo-info: var(--dg-blue);
  --beo-info-rgb: 111, 180, 255;
  --beo-light: var(--dg-card);
  --beo-light-rgb: 21, 21, 21;
  --beo-dark: var(--dg-bg0);
  --beo-dark-rgb: 0, 0, 0;

  --beo-gray-100: #151515;
  --beo-gray-200: #1f1f1f;
  --beo-gray-300: #2a2a2a;
  --beo-gray-400: #4d4d4d;
  --beo-gray-500: #737373;
  --beo-gray-600: #a8a8a8;
  --beo-gray-700: #e4e4e4;
  --beo-gray-800: #ededed;
  --beo-gray-900: #ffffff;
  --beo-gray: #a8a8a8;
  --beo-gray-dark: #ededed;
}

/* With the header on the page's own black, the top bar (menu, basket, log
   in) keeps a lifted strip and a hairline so it still reads as a bar. */
.region-top-bar {
  background-color: #111111 !important;
  border-bottom: 1px solid var(--dg-line);
}

/* dark.css hard-codes a navy hover for the quiet buttons. */
.btn-secondary:hover,
.btn-light:hover {
  background-color: #2a2a2a;
}

/* The header lockup is an inline image in a custom block shared with the
   light theme, so it is swapped here: the white copy of the same artwork
   (images/wml-logo-light.png, same size and edges). dark.css already flips it
   with a filter, which keeps it white in a browser that ignores content: on an
   <img>. */
.region-header img[src*="wml"],
.region-navigation img[src*="wml"],
.region-top-bar img[src*="wml"] {
  content: url("../images/wml-logo-light.png");
}

/* The home page's hero and product tiles: a hairline so the Drumagog 6
   banner's navy ground reads as a framed image on black. */
.block-inline-blockbasic .wml-hero img {
  border: 1px solid var(--dg-line);
  border-radius: 12px;
}

/* ------------------------------------------------------------- the home page
   wavemachinelabs.com's landing page as a catalog (owner, 2026-11-23: "Add
   both respace and pantheus. Let's make pantheus take the main hero and
   rearrange the page so it looks professional and all the products fit
   nicely"). The markup is landing/landing.html, the body of the page's one
   block (landing/apply_landing.php puts it in place); everything is scoped
   under .wml-landing. The newest product has the hero panel, the other
   plug-ins a row of equal cards, the iPad app a wide card. Pictures are the
   product sites' own window pictures, shown whole in frames of one shape. */
.wml-landing {
  --wml-radius: 14px;
  padding: 4px 0 64px;
  text-align: left;
}
.wml-landing p {
  margin: 0;
}
.wml-landing a {
  text-decoration: none;
}

.wml-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--dg-line);
  border-radius: var(--wml-radius);
  background: radial-gradient(110% 130% at 82% 45%, #1c1712 0%, #0d0d0d 48%, #080808 100%);
}
.wml-hero-copy {
  min-width: 0;
}
.wml-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dg-accent);
}
.wml-eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--dg-accent);
}
.wml-landing .wml-hero-name {
  margin: 18px 0 0;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dg-ink);
}
.wml-hero-line {
  margin-top: 16px !important;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.3;
  font-weight: 600;
  color: var(--dg-ink);
}
.wml-hero-text {
  margin-top: 14px !important;
  max-width: 30em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dg-body);
}
.wml-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px !important;
}
.wml-landing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-left: 22px;
  padding-right: 22px;
}
.wml-hero-shot {
  display: block;
}
.wml-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--dg-line);
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.wml-group {
  margin-top: 72px;
}
.wml-landing .wml-group-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dg-ink);
}
.wml-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--dg-line);
}
.wml-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.wml-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dg-line);
  border-radius: var(--wml-radius);
  background: var(--dg-card);
}
/* One frame shape for every product, whatever its window's own shape: the
   picture is laid inside it whole (never cropped, never stretched). */
.wml-card-shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background: #0a0a0a;
  border-bottom: 1px solid var(--dg-line);
}
.wml-card-shot img {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
}
.wml-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.wml-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dg-dim);
}
.wml-new {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #14100c;
  background: var(--dg-accent);
}
.wml-landing .wml-card-name {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}
.wml-card-name a {
  color: var(--dg-ink);
}
.wml-card-name a:hover,
.wml-card-name a:focus {
  color: var(--dg-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wml-card-text {
  margin-top: 10px !important;
  font-size: 16px;
  line-height: 1.55;
  color: var(--dg-body);
}
.wml-card-link {
  margin-top: auto !important;
  padding-top: 20px;
}
.wml-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}
.wml-card-wide .wml-card-shot {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
  border-bottom: 0;
  border-right: 1px solid var(--dg-line);
}
.wml-card-wide .wml-card-body {
  justify-content: center;
  padding: 32px 40px;
}
.wml-card-wide .wml-card-text {
  max-width: 34em;
}
.wml-card-wide .wml-card-link {
  margin-top: 0 !important;
}
.wml-about {
  max-width: 44em;
  margin: 72px auto 0 !important;
  padding-top: 32px;
  border-top: 1px solid var(--dg-line);
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  color: var(--dg-body);
}

@media (max-width: 991.98px) {
  .wml-hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 36px 28px;
  }
  .wml-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .wml-cards .wml-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .wml-cards .wml-card-shot,
  .wml-card-wide .wml-card-shot {
    aspect-ratio: auto;
    height: 100%;
    min-height: 220px;
    border-bottom: 0;
    border-right: 1px solid var(--dg-line);
  }
  .wml-card-wide {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .wml-cards .wml-card-body {
    justify-content: center;
  }
  .wml-cards .wml-card-link {
    margin-top: 0 !important;
  }
  .wml-group {
    margin-top: 56px;
  }
}
@media (max-width: 639.98px) {
  .wml-hero-panel {
    padding: 28px 20px;
  }
  .wml-actions .btn {
    flex: 1 1 auto;
  }
  .wml-cards .wml-card,
  .wml-card-wide {
    display: flex;
    flex-direction: column;
  }
  .wml-cards .wml-card-shot,
  .wml-card-wide .wml-card-shot {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--dg-line);
  }
  .wml-card-wide .wml-card-body {
    padding: 22px 24px 24px;
  }
  .wml-group {
    margin-top: 44px;
  }
  .wml-about {
    margin-top: 48px !important;
  }
}
