/* The At Dawn header (badge, nav, Tickets, phone MENU), shared by the Home page, About, artist pages and the
   placeholder pages (FAQ, Volunteers, house rules, code of conduct, privacy statement; Jonathan Castro, 2 Dec:
   one header on every page). Variables fall back to the At Dawn values where a page has no :root roles. */
@font-face { font-family: "Dekmantel BB Blur"; src: url(/dawn/fonts/bb-blur.woff2) format("woff2"); font-display: swap; }
header { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 400; }  /* badge, nav and Tickets on one centre line; weight 400, or the placeholder pages' 300 picks BB Blur Light */
/* no Home link on any width: the logo links home (Marco, 3 Dec) */
.navigation__list li.is-home { display: none; }
/* the header logo on every page, Home too (Jonathan Castro, 1 Dec): his outlined DEKMANTEL oval (DKMNTL27 ID p5),
   charcoal on lime, sized with the nav (86 px wide at the 20 px nav) */
header .badge { display: block; line-height: 0; }
header .badge img { display: block; width: calc(var(--nav-size, 20) * 4.3px); height: auto; }   /* same box on every page: the placeholder sheets set their own img heights and line heights */
/* nav: the live festival site header (.navigation__*): BB Blur 20 px, charcoal, 20 px apart, always one row (Luc, 1 Dec) */
header .navigation { flex: 1; padding: 0 20px; }
.navigation__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0;
  font-family: "Dekmantel BB Blur", Helvetica, serif; font-size: calc(var(--nav-size, 20) * 1px); line-height: 1; }   /* the list boxes as the links, so a column steps as the footer list */
@media (max-width: 1100px) { .navigation__list { gap: 14px; } }
/* phones (Jonathan Castro, 2 Dec): DEKMANTEL oval left, a MENU box centre, Tickets right, on one centre line. MENU opens the
   nav as a lime panel over the top of the page: the header row stays (the box reads CLOSE), then ABOUT, FAQ, VOLUNTEERS centred
   in charcoal BB Blur capitals. Home stays out (the oval links there). On pages without the video the header takes its own
   space instead of lying over the content */
.menu-toggle { display: none; }
@media (max-width: 768px) {
  header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 0; }
  header .badge { justify-self: start; }
  header .menu-toggle { display: inline-block; grid-column: 2; grid-row: 1; padding: 0.12em 0.9em 0.06em; border: 0.14em solid var(--ink, #404040); background: var(--accent, #B5FC87); color: var(--teal, #56DEC5);
    font-family: "Dekmantel BB Blur", Helvetica, serif; font-size: calc(var(--nav-size, 20) * 1px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
  header .menu-toggle:focus-visible { outline: 3px solid var(--ink, #404040); outline-offset: 3px; }
  header .tickets { grid-column: 3; grid-row: 1; justify-self: end; }
  /* the panel hangs under the header row and lies over the page, so opening it never moves the content */
  header .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 0 44px; background: var(--accent, #B5FC87); }
  header.is-open { background: var(--accent, #B5FC87); }
  header.is-open .navigation { display: block; }
  .navigation__list { flex-direction: column; align-items: center; gap: 0.35em; font-size: calc(var(--nav-size, 20) * 1.5px); }
  /* header.is-open .navigation: specific enough to win over the link colours set further down the sheet */
  header.is-open .navigation .navigation__link { font-size: calc(var(--nav-size, 20) * 1.5px); color: var(--ink, #404040); text-transform: uppercase; }
  header.is-open .navigation .navigation__link[aria-current="page"] { color: var(--ink, #404040); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
  .no-hero header { position: relative; }
  /* one phone gutter for header, text and footer: the DMF26 site's 10 px (2.5 px container + 7.5 px column) */
  header { padding: 12px 10px; }
}
.navigation__link { font-family: "Dekmantel BB Blur", Helvetica, serif; font-size: calc(var(--nav-size, 20) * 1px); line-height: 1; letter-spacing: -0.01em; color: var(--accent, #B5FC87); text-decoration: none; }
/* lime over the hero video (as the wordmark in Jonathan Castro's video hero); charcoal on pages without a hero */
.no-hero .navigation__link { color: var(--ink, #404040); }
.no-hero .navigation__link[aria-current="page"] { color: var(--accent, #B5FC87); }   /* the page you are on, lime (Jonathan Castro, 1 Dec) */
header .tickets { margin-top: 0; margin-left: auto; }   /* top right */
/* Tickets as Jonathan Castro's box (1 Dec): lime BB Blur on charcoal in a teal frame, set as text at the nav size */
header .tickets, .cta .tickets { display: inline-block; padding: 0.12em 0.3em 0.06em; border: 0.14em solid var(--teal, #56DEC5); background: var(--ink, #404040); color: var(--accent, #B5FC87);
  font-family: "Dekmantel BB Blur", Helvetica, serif; font-size: calc(var(--nav-size, 20) * 1px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none; }
header a:focus-visible { outline: 3px solid var(--accent, #B5FC87); outline-offset: 3px; }
