/* DCMS-SOURCE-TAG
  .oO===[ D C : M S // 2K[oo] ]===Oo.

       ∃! x :
       DAVE_CROW(x)
            ∧
       DAVID_BAILEY(x)
            ∧
       THE_GRAND_DJABUMPTA(x)
            ∴
       ONE AND THEN SOME.

  MANIFESTED, NOT MERELY MANUFACTURED.

  .-=[ BON DIA // ∞ ]=-.
*/
* { box-sizing: border-box; }
html { color: #193e34; background: linear-gradient(to right, #fff4df 45%, #fbe5df 100%); font-family: system-ui, sans-serif; line-height: 1.6; }
body { margin: 0; }
a { color: #00696d; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #234e97; outline-offset: 5px; }
.skip-link { position: absolute; top: .5rem; left: 1rem; padding: .5rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
header, main, footer { max-width: 1160px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
header { padding-block: 1.5rem; border-bottom: 1px solid #d5d5cf; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
nav a[aria-current] { font-weight: 700; }
main { padding-block: 2.5rem; }
h1, h2 { line-height: 1.2; font-weight: 400; font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; }
p { max-width: 65ch; }
.intro { margin-bottom: 2rem; }
.event-layout { display: grid; gap: 2rem; align-items: start; }
figure { margin: 0; min-width: 0; }
.poster { display: block; width: 100%; height: auto; }
figcaption { margin-top: .75rem; font-size: .9rem; }
.details h2 { margin-top: 0; }
dl { margin-block: 1.5rem; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin-left: 0; }
address { font-style: normal; }
footer { padding-block: 1.5rem; border-top: 1px solid #d5d5cf; font-size: .9rem; }
@media (min-width: 800px) {
 .event-layout { grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.intro-tagline {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
}
.fair-date-location {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
}
h1, h2 { color: #8b171b; }
.intro-tagline, .fair-date-location, dt { color: #174b38; }
figcaption, footer, .details small { color: #4d6254; }
.skip-link { background: #fff4df; }
:focus-visible { outline-color: #00696d; }
html { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
    color: #f3e8d4;
    background: #14251f linear-gradient(to right, #14251f 45%, #07110c 100%);
  }
  h1, h2 { color: #ef9e98; }
  a { color: #8ed4ca; }
  .intro-tagline, .fair-date-location, dt { color: #d9dfc5; }
  figcaption, footer, .details small { color: #b8c4b7; }
  header, footer { border-color: #536057; }
  .skip-link { background: #14251f; color: #8ed4ca; }
  :focus-visible { outline-color: #8ed4ca; }
}
html[data-theme="light"] {
  color-scheme: light;
  --theme-text: #193e34;
  --theme-bg: #fff4df;
  --theme-tint: #fbe5df;
  --theme-heading: #8b171b;
  --theme-link: #00696d;
  --theme-emphasis: #174b38;
  --theme-muted: #4d6254;
  --theme-border: #d5d5cf;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --theme-text: #f3e8d4;
  --theme-bg: #14251f;
  --theme-tint: #07110c;
  --theme-heading: #ef9e98;
  --theme-link: #8ed4ca;
  --theme-emphasis: #d9dfc5;
  --theme-muted: #b8c4b7;
  --theme-border: #536057;
}
html[data-theme] {
  color: var(--theme-text);
  background: var(--theme-bg) linear-gradient(to right, var(--theme-bg) 45%, var(--theme-tint) 100%);
}
html[data-theme] h1, html[data-theme] h2 { color: var(--theme-heading); }
html[data-theme] a { color: var(--theme-link); }
html[data-theme] .intro-tagline,
html[data-theme] .fair-date-location,
html[data-theme] dt { color: var(--theme-emphasis); }
html[data-theme] figcaption,
html[data-theme] footer,
html[data-theme] .details small { color: var(--theme-muted); }
html[data-theme] header, html[data-theme] footer { border-color: var(--theme-border); }
html[data-theme] .skip-link { background: var(--theme-bg); color: var(--theme-link); }
html[data-theme] :focus-visible { outline-color: var(--theme-link); }
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.site-header nav { flex: 1; min-width: 0; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--theme-link, #00696d);
  background: var(--theme-bg, #fff4df);
  cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { flex: none; }
.theme-toggle .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
