/* GENERATED by build.mjs. Edit the files in site/ and event.config.json, not this file. */
/* site/fonts.css - self-hosted display face (Fraunces, SIL Open Font License, see public/fonts/OFL.txt).
   build.mjs puts this at the top of public/theme.css and also writes it alone to public/theme-fonts.css,
   so the registration form can use the same display face without loading the whole landing page CSS. */

@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #7A2E1D;
  --background: #F7F3EA;
  --ink: #1B1A17;
  --heading-font: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
  --body-font: -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* derived from the five above, so any new palette stays readable */
  --surface: color-mix(in srgb, var(--background) 55%, white);
  --border: color-mix(in srgb, var(--ink) 20%, var(--background));
  --muted: color-mix(in srgb, var(--ink) 72%, var(--background));
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--background));
  --on-accent: color-mix(in srgb, var(--background) 100%, var(--accent) 0%);
}

/* site/style.css - the LOOK of the landing page.
   Rule: use only the tokens (var(--accent), var(--ink), ...). No raw color codes here.
   The tokens come from the "theme" block in event.config.json (see theme.css).
   Layout and breakpoints are by screen WIDTH only. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

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

h1,
h2,
h3 {
  font-family: var(--heading-font);
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow > * {
  max-width: 44rem;
}

/* focus + skip link */

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  min-height: 44px;
  background: var(--ink);
  color: var(--background);
}

.skip-link:focus {
  top: 0.75rem;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--on-accent);
  border: 2px solid var(--accent);
  border-radius: 2px;
  font-family: var(--body-font);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: color-mix(in srgb, var(--accent) 82%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 82%, var(--ink));
}

.btn-small {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
}

.btn-large {
  min-height: 56px;
  padding: 0.9rem 2.25rem;
  font-size: 1.1875rem;
}

/* the button on the dark bedrock band: accent fill, light rim so it reads against the dark */
.btn-bedrock {
  background: var(--accent);
  border-color: var(--background);
  color: var(--on-accent);
}

.btn-bedrock:hover {
  background: color-mix(in srgb, var(--accent) 82%, var(--background));
  border-color: var(--background);
}

/* header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--heading-font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo img {
  display: block;
  max-height: 2.75rem;
  width: auto;
}

/* hero */

.hero {
  position: relative;
  padding: clamp(3.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 10vw, 7rem);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

/* the drifting grain, made by site/motion/drift.js. Behind the text, never takes a click. */
.drift {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.drift.is-live {
  opacity: 1;
}

.eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-bottom: 1.25rem;
  background: var(--accent);
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.75rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 14ch;
}

.verse {
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  padding: 1.25rem 0 0;
  max-width: 38rem;
  border-top: 1px solid var(--border);
}

.verse p {
  font-family: var(--heading-font);
  font-size: clamp(1.1875rem, 3vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
}

.verse-ref {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-date {
  margin-top: clamp(2rem, 5vw, 3rem);
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-place {
  margin-top: 0.25rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 2rem;
}

.hero.has-hero {
  color: var(--background);
}

.hero.has-hero .eyebrow,
.hero.has-hero .verse-ref,
.hero.has-hero .hero-place {
  color: inherit;
}

.hero.has-hero .eyebrow::before {
  background: var(--background);
}

.hero.has-hero .verse {
  border-top-color: var(--background);
}

.hero.has-hero .btn {
  background: var(--background);
  border-color: var(--background);
  color: var(--ink);
}

/* intro */

.intro {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.intro-text + .intro-text {
  margin-top: 1.25rem;
}

.intro-text:first-child {
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.5;
}

.intro-closing {
  margin-top: 2rem;
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
}

/* details */

.details {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  background: var(--accent-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.details h2,
.schedule h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.01em;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 1.75rem 0 0;
}

.info-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.info-item dt {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-item dd {
  margin: 0.4rem 0 0;
}

.info-value,
.info-link {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.info-link {
  display: inline-block;
  min-height: 44px;
  padding: 0.25rem 0;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.info-link:hover {
  color: var(--accent);
}

.info-detail {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

/* schedule */

.schedule {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.schedule-note {
  margin-top: 0.75rem;
  font-style: italic;
  color: var(--muted);
}

.day {
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
}

.day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding-bottom: 0.75rem;
}

.day-head h3 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.day-date {
  font-size: 1.0625rem;
  color: var(--muted);
}

.day-label {
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows {
  border-bottom: 1px solid var(--border);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: 6.75rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1.1rem 0;
}

/* the top rule of each row. The first row's rule is the heavy line under the day heading. */
.row .rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--border);
  transform-origin: 0 50%;
}

.row:first-child .rule {
  height: 2px;
  background: var(--ink);
}

.time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}

.title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.quote {
  margin-top: 0.1rem;
  font-style: italic;
  color: var(--muted);
}

.caption {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.options {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.option {
  padding: 0.9rem 1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
}

.code {
  display: block;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.opt-title {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

/* register band */

/* the dark "bedrock" band. The only dark section on the page. */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  background: var(--ink);
  color: var(--background);
}

.cta-band.has-fill {
  background: transparent;
}

/* added by site/motion/reveal.js while the band hands off from page color to dark; removed when done */
.band-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--ink);
  transform-origin: 50% 100%;
}

.cta-band h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.cta-band p {
  margin-top: 1rem;
}

.cta-band .cta-action {
  margin-top: 1.75rem;
}

.cta-band :focus-visible {
  outline-color: var(--background);
}

.contact a {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0;
  color: var(--background);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* footer */

.site-footer {
  padding: 2rem 0;
  font-size: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* the plumb line, drawn by site/motion/plumb.js. Fixed, in the left gutter, never takes a click. */
.plumb {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
}

/* "hidden before reveal". The class "mo" is added to <html> by a tiny script in <head>, and only when
   JavaScript runs and reduced motion is off. It is taken off again if the motion scripts fail to start
   within 2.5 seconds, or as soon as they have set up their own starting states. Without JavaScript this
   never applies, so the page is always readable. */
.mo .hero .eyebrow,
.mo .hero h1,
.mo .hero .verse,
.mo .hero-date,
.mo .hero-place,
.mo .hero-cta,
.mo .intro-text,
.mo .intro-closing,
.mo .info-item,
.mo .day-head > *,
.mo .row .time,
.mo .row .what,
.mo .option,
.mo .cta-band .wrap > * {
  opacity: 0;
}

.mo .row .rule {
  transform: scaleX(0);
}

/* sticky bar: phones only, chosen by width */

.sticky-cta {
  display: none;
}

@media (max-width: 700px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
    background: var(--background);
    border-top: 1px solid var(--border);
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 6rem;
  }
}

/* wider screens */

@media (min-width: 700px) {
  .wrap {
    padding: 0 2rem;
  }

  .row {
    grid-template-columns: 9rem 1fr;
    gap: 0.25rem 2rem;
  }

  .options {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

@media (min-width: 1000px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
  }
}
