/* DECC prototype theme - "Harbor night marquee"
   Palette derived from decc.org's own theme CSS (marquee orange, lake blue, deep harbor blue, gull gray)
   Type: Anton (display) + Source Sans 3 (body), self-hosted. See DESIGN-DNA.md */

@font-face {
  font-family: 'Anton';
  src: url('fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0b2230;
  --night-2: #123349;
  --harbor: #055b82;
  --lake: #41a5d2;
  --lake-soft: #d6ecf5;
  --marquee: #d96508;
  --marquee-deep: #b04e06;
  --marquee-glow: #f59a55;
  --paper: #f6f4ef;
  --card: #fffdf8;
  --ink: #1d2b33;
  --ink-soft: #4a5a64;
  --line: #d9d2c4;
  --on-night: #eef6fa;
  --on-night-soft: #b9cdd8;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --stub-notch: 11px;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--harbor); text-underline-offset: 2px; }
a:hover { color: var(--marquee-deep); }

:focus-visible {
  outline: 3px solid var(--marquee-deep);
  outline-offset: 2px;
  border-radius: 2px;
}
.site-head :focus-visible, .proto-banner :focus-visible, .pier-foot :focus-visible,
.night :focus-visible, .marquee-nav :focus-visible, .page-head :focus-visible,
.hero-night :focus-visible {
  outline-color: var(--marquee-glow);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--marquee-deep);
  color: #fff;
  padding: .65rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: .75rem;
  top: .75rem;
  color: #fff;
}

/* ---------- chrome: proto banner ---------- */
.proto-banner {
  background: #361800;
  color: #ffc294;
  font-size: .85rem;
  text-align: center;
  padding: .45rem .9rem;
  line-height: 1.4;
}
.proto-banner a { color: #fff; font-weight: 600; }
.proto-banner a:hover { color: #ffc294; }

/* ---------- chrome: header ---------- */
.site-head {
  background: var(--night);
  color: var(--on-night);
}
.head-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: .8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.lockup {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--on-night);
  min-height: 44px;
}
.lockup:hover { color: #fff; }
.lockup-disc {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lake);
  color: var(--night);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: .03em;
}
.lockup-name {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  max-width: 16ch;
}
.head-search {
  margin-left: auto;
  display: flex;
}
.head-search input[type="search"] {
  font-family: var(--body);
  font-size: .95rem;
  border: 1px solid #2a4a60;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: .55rem .8rem;
  min-width: 13.5rem;
  background: var(--night-2);
  color: var(--on-night);
  min-height: 44px;
}
.head-search input::placeholder { color: var(--on-night-soft); opacity: 1; }
.head-search button {
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--marquee);
  color: #2b1300;
  padding: .55rem .95rem;
  cursor: pointer;
  min-height: 44px;
}
.head-search button:hover { background: var(--marquee-glow); }

.menu-btn {
  display: none;
  background: var(--night-2);
  color: var(--on-night);
  border: 1px solid #2a4a60;
  border-radius: 6px;
  font: 700 .95rem var(--body);
  padding: .55rem .9rem;
  cursor: pointer;
  min-height: 44px;
}
.menu-btn:hover { background: #1a405c; }

.marquee-nav { background: var(--night-2); border-bottom: 4px solid var(--marquee); }
.marquee-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  max-width: 1160px;
  margin-inline: auto;
}
.marquee-nav a {
  display: block;
  color: var(--on-night);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .015em;
  padding: .8rem .95rem;
  border-bottom: 3px solid transparent;
  min-height: 44px;
}
.marquee-nav a:hover { color: #fff; border-bottom-color: var(--marquee-glow); }
.marquee-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--marquee);
}

@media (max-width: 860px) {
  .menu-btn { display: inline-block; margin-left: auto; }
  .head-search { margin-left: 0; width: 100%; }
  .head-search input[type="search"] { flex: 1; min-width: 0; }
  .marquee-nav { display: none; }
  .marquee-nav.open { display: block; }
  .marquee-nav ul { flex-direction: column; gap: 0; padding: .4rem .6rem .8rem; }
  .marquee-nav a { border-bottom: 0; border-left: 3px solid transparent; }
  .marquee-nav a:hover, .marquee-nav a[aria-current="page"] { border-left-color: var(--marquee); border-bottom: 0; }
}

/* ---------- layout & type ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.1rem; }
.narrow { max-width: 860px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .035em;
  line-height: 1.12;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); letter-spacing: .045em; }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }

.kicker {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--marquee-deep);
  margin: 0 0 .35rem;
}
.night .kicker { color: var(--marquee-glow); }

.lede { font-size: 1.17rem; color: var(--ink-soft); max-width: 62ch; }
.night .lede { color: var(--on-night-soft); }

section { padding: 2.7rem 0; }

.night { background: var(--night); color: var(--on-night); }
.night a { color: #6cc3ef; }
.night a:hover { color: #fff; }
.night h3 { color: #fff; }

/* perforation divider - ticket motif */
.perf {
  border: 0;
  height: 0;
  margin: 0;
  border-top: 2px dashed var(--line);
  position: relative;
  overflow: visible;
}
.perf::before, .perf::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marquee);
}
.perf::before { left: 0; }
.perf::after { right: 0; }
.night .perf, .night-room .perf { border-top-color: #2a4a60; }

/* punch-dot lists */
.punch-list { list-style: none; padding: 0; margin: .8rem 0; }
.punch-list li { position: relative; padding-left: 1.55rem; margin: .55rem 0; }
.punch-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--marquee);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--line);
}
.night .punch-list li::before { box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px #2a4a60; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 700 1rem var(--body);
  text-decoration: none;
  border-radius: 7px;
  padding: .72rem 1.3rem;
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-marquee, .night a.btn-marquee { background: var(--marquee); color: #2b1300; }
.btn-marquee:hover, .night a.btn-marquee:hover { background: var(--marquee-glow); color: #2b1300; }
.btn-night, .night a.btn-night { background: var(--harbor); color: #fff; }
.btn-night:hover, .night a.btn-night:hover { background: #07719f; color: #fff; }
.btn-ghost { border-color: var(--harbor); color: var(--harbor); background: transparent; }
.btn-ghost:hover { border-color: var(--marquee-deep); color: var(--marquee-deep); }
.night .btn-ghost { border-color: #6cc3ef; color: #6cc3ef; }
.night .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- ticket stub cards ---------- */
.stub {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
}
.stub-date {
  flex: none;
  width: 92px;
  background: var(--night);
  color: var(--on-night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .9rem .4rem;
  border-right: 2px dashed #c9c2b2;
  text-align: center;
}
.stub-date .mon {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--marquee-glow);
}
.stub-date .day {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
}
.stub-date .thru { font-size: .74rem; color: var(--on-night-soft); margin-top: .15rem; }
.stub::before, .stub::after {
  content: "";
  position: absolute;
  left: calc(92px - var(--stub-notch) / 2);
  width: var(--stub-notch);
  height: var(--stub-notch);
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  z-index: 1;
}
.stub::before { top: calc(var(--stub-notch) / -2 + 2px); }
.stub::after { bottom: calc(var(--stub-notch) / -2 + 2px); }
.night-room .stub::before, .night-room .stub::after { background: var(--night-2); border-color: #2a4a60; }
.night-room .stub { border-color: #2a4a60; }

.stub-body { padding: .85rem 1rem .9rem; min-width: 0; }
.stub-body h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.stub-body h3 a { text-decoration: none; color: var(--ink); }
.stub-body h3 a:hover { color: var(--marquee-deep); text-decoration: underline; }
.stub-meta { font-size: .9rem; color: var(--ink-soft); margin: .1rem 0 0; }
.venue-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #04425e;
  background: var(--lake-soft);
  border-radius: 4px;
  padding: .12rem .5rem;
  margin-bottom: .3rem;
}

.stub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}
@media (max-width: 400px) {
  .stub-grid { grid-template-columns: 1fr; }
  .stub-date { width: 74px; }
  .stub::before, .stub::after { left: calc(74px - var(--stub-notch) / 2); }
}

/* unscanned-stub empty state */
.no-scan {
  border: 2px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 2.2rem 1.2rem;
  color: var(--ink-soft);
  background: var(--card);
}
.no-scan .ns-head {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 .3rem;
}

/* ---------- filter chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .35rem 0 0; }
.chip {
  font: 600 .92rem var(--body);
  border: 1.5px solid var(--harbor);
  color: #04425e;
  background: var(--card);
  border-radius: 999px;
  padding: .42rem .95rem;
  cursor: pointer;
  min-height: 38px;
  min-width: 44px;
}
.chip:hover { border-color: var(--marquee-deep); color: var(--marquee-deep); }
.chip[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
fieldset.chip-set { border: 0; padding: 0; margin: 1.1rem 0 0; min-width: 0; }
fieldset.chip-set legend {
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0;
  margin-bottom: .25rem;
}

/* ---------- hero ---------- */
.hero-night {
  position: relative;
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
}
.hero-night .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}
.hero-night .hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,34,48,.6) 0%, rgba(11,34,48,.3) 45%, rgba(11,34,48,.94) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6.2rem) 1.1rem 2.7rem;
}
.hero-inner h1 {
  max-width: 18ch;
  margin-bottom: .2rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.marquee-underline {
  display: block;
  width: 110px;
  height: 6px;
  background: var(--marquee);
  border-radius: 3px;
  margin: .9rem 0 1rem;
}
.hero-inner p {
  font-size: 1.2rem;
  max-width: 56ch;
  color: #e9f3f8;
  text-shadow: 0 1px 10px rgba(0,0,0,.65);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.hero-actions .btn-ghost { background: rgba(11,34,48,.62); border-color: #cfe6f2; color: #f0f8fc; }
.hero-actions .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(11,34,48,.8); }

/* page header band for inside pages */
.page-head {
  background: var(--night);
  color: var(--on-night);
  padding: 2.5rem 0 2.1rem;
}
.page-head h1 { color: #fff; margin-bottom: .2rem; }
.page-head p { color: var(--on-night-soft); max-width: 64ch; font-size: 1.13rem; margin-bottom: 0; }

/* ---------- spotlit stub photo frames ---------- */
.photo-stub {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
}
.photo-stub img { width: 100%; height: 100%; object-fit: cover; }
.photo-stub figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(11,34,48,0), rgba(11,34,48,.9) 60%);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 1.7rem .9rem .6rem;
}
.photo-stub::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  transform: translateY(-50%);
}
.night .photo-stub::after { background: var(--night); border-color: #2a4a60; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

/* ---------- venue board ---------- */
.venue-board { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .65rem; }
.venue-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr) auto;
  gap: .35rem 1.2rem;
  align-items: baseline;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--harbor);
  border-radius: 8px;
  padding: .85rem 1.1rem;
}
.venue-row:hover { border-left-color: var(--marquee); }
.venue-row .v-name {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.venue-row .v-name a { text-decoration: none; color: var(--ink); }
.venue-row .v-name a:hover { color: var(--marquee-deep); text-decoration: underline; }
.venue-row .v-desc { color: var(--ink-soft); font-size: .97rem; }
.venue-row .v-fact { font-weight: 700; font-size: .88rem; color: var(--harbor); white-space: nowrap; }
@media (max-width: 720px) {
  .venue-row { grid-template-columns: 1fr; }
  .venue-row .v-fact { white-space: normal; }
}

/* ---------- tables ---------- */
table { border-collapse: collapse; width: 100%; margin: 1.1rem 0; font-size: .98rem; }
caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--night);
}

/* ---------- forms ---------- */
label { font-weight: 700; display: block; margin-bottom: .3rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], input[type="date"], select, textarea {
  font: 1rem var(--body);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #8d9aa1;
  border-radius: 6px;
  padding: .6rem .7rem;
  width: 100%;
  min-height: 44px;
}
textarea { min-height: 7rem; resize: vertical; }
.field { margin-bottom: 1.15rem; }
.hint { font-size: .88rem; color: var(--ink-soft); font-weight: 400; margin-top: .15rem; }
.night .hint { color: var(--on-night-soft); }
.req { color: var(--marquee-deep); }
.error-text { color: #9c2317; font-weight: 600; font-size: .92rem; margin-top: .25rem; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #9c2317; }

/* ---------- footer ---------- */
.pier-foot {
  background: var(--night);
  color: var(--on-night-soft);
  margin-top: 3rem;
  border-top: 4px solid var(--marquee);
  font-size: .95rem;
}
.pier-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.2rem 1.1rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}
.pier-foot h2 {
  font-size: .92rem;
  letter-spacing: .15em;
  color: var(--marquee-glow);
  margin-bottom: .6rem;
}
.pier-foot ul { list-style: none; margin: 0; padding: 0; }
.pier-foot li { margin: .45rem 0; }
.pier-foot a { color: var(--on-night); }
.pier-foot a:hover { color: #fff; }
.pier-foot address { font-style: normal; }
.pier-legal {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.6rem;
  border-top: 1px solid #234359;
  font-size: .86rem;
}
.pier-legal a { color: var(--on-night); }

/* ---------- misc ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.count-pill {
  display: inline-block;
  font-weight: 700;
  font-size: .92rem;
  background: var(--night);
  color: var(--marquee-glow);
  border-radius: 999px;
  padding: .25rem .85rem;
}
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; align-items: start; }
.notice {
  background: var(--lake-soft);
  border-left: 5px solid var(--harbor);
  border-radius: 6px;
  padding: .9rem 1.1rem;
  margin: 1.2rem 0;
}
mark { background: #ffe0bd; color: inherit; padding: 0 .12em; border-radius: 2px; }

/* search results */
.result-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .9rem; }
.result-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  border-left: 6px solid var(--harbor);
}
.result-item .r-type {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--marquee-deep);
}
.result-item h3 { margin: .15rem 0 .25rem; }
.result-item p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* facts rail */
.facts-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.fact-card {
  background: var(--night-2);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border-top: 4px solid var(--marquee);
}
.fact-card .f-num { font-family: var(--display); font-size: 1.85rem; color: #fff; line-height: 1.15; }
.fact-card .f-label { color: var(--on-night-soft); font-size: .93rem; }
