/* Distrito 31 Hispano de Austin, Texas */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("assets/fonts/cormorant-sc-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("assets/fonts/cormorant-sc-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/source-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/source-sans-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/source-sans-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/source-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #013b09;
  --green-mid: #0b4d1e;
  --green-deep: #012407;
  --gold: #c4a35a;
  --gold-bright: #d4b56a;
  --gold-soft: #e8d9b0;
  --cream: #f6f3eb;
  --cream-deep: #efe8d8;
  --white: #ffffff;
  --ink: #1c211d;
  --muted: #4a534c;
  --line: #ddd6c6;
  --header-h: 4.5rem;
  --shadow: 0 1px 2px rgba(1, 59, 9, 0.04), 0 14px 36px rgba(1, 59, 9, 0.05);
  --font-display: "Cormorant Garamond", Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  --font-sc: "Cormorant SC", "Cormorant Garamond", Palatino, Georgia, serif;
  --font-sans: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
}

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

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

h1, h2, h3, .event-title, .brand-name, .footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--green);
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 0.9rem;
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green-mid);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--green);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

address {
  font-style: normal;
  margin: 0 0 1.1rem;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* Body prose: justify on comfortable widths only */

.lede,
.section-intro,
.empty-state,
.note,
.disclaimer,
blockquote p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  text-justify: inter-word;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 5000;
  background: var(--white);
  color: var(--green);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
}

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

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Flourish */

.flourish {
  display: block;
  width: 3.25rem;
  height: 0.55rem;
  margin: 0.95rem 0 0;
  position: relative;
}

.flourish::before,
.flourish::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.flourish::before {
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.flourish::after {
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 2px var(--cream);
}

.section:not(.section-alt) .flourish::after,
.hero .flourish::after,
.site-footer .flourish::after {
  box-shadow: 0 0 0 2px var(--white);
}

.section-alt .flourish::after {
  box-shadow: 0 0 0 2px var(--cream);
}

.flourish-light::before {
  background: var(--gold-bright);
}

.flourish-light::after {
  background: var(--gold-bright);
  box-shadow: 0 0 0 2px var(--green);
}

.site-footer .flourish-light::after {
  box-shadow: 0 0 0 2px var(--green-deep);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head .flourish,
.hero-copy .flourish,
.footer-inner .flourish {
  margin-left: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 181, 106, 0.45);
}

.header-inner {
  width: min(1180px, calc(100% - 1.75rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(212, 181, 106, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-place {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(212, 181, 106, 0.45);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.site-header .site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.52rem;
  border-radius: 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
  background: transparent;
  border-bottom-color: var(--gold-bright);
  outline: none;
}

/* Hero */

.hero {
  background: var(--green);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5.25rem) 0 clamp(3.4rem, 6.5vw, 5.75rem);
}

.hero-inner {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem 3.75rem;
  align-items: center;
}

.hero-emblem {
  padding: 0.55rem;
  border: 1px solid rgba(212, 181, 106, 0.5);
}

.hero-logo {
  width: 100%;
  display: block;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-sc);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0;
}

.hero-copy .flourish {
  margin: 1.15rem 0 1.35rem;
}

.lede {
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
}

.section-alt {
  background: var(--cream);
}

.section-intro,
.empty-state {
  max-width: 68ch;
  margin-bottom: 2rem;
  font-size: 1.08rem;
}

.subhead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-sc);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Quote */

.section-quote {
  background: var(--cream);
  position: relative;
}

.section-quote::before,
.section-quote::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.85;
}

.section-quote::before {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
}

.section-quote::after {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
}

.byline {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}

blockquote {
  margin: 0 0 1.5rem;
  padding: 0.15rem 0 0 1.35rem;
  border-left: 1px solid var(--gold);
}

blockquote p {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.credit {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card,
.assembly-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.55rem 1.55rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.card::before,
.assembly-info::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  right: 1.55rem;
  top: 0;
  height: 2px;
  background: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.meta {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.meta li {
  display: grid;
  grid-template-columns: 8.1rem 1fr;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--cream-deep);
  text-align: start;
}

.meta li:last-child {
  border-bottom: 0;
}

.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 0.12rem;
}

.meta-label .icon {
  color: var(--gold);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  color: var(--green-mid);
}

.map-link .icon {
  color: var(--gold);
}

.map-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.note {
  margin-top: 2rem;
  font-size: 0.98rem;
  color: var(--muted);
  font-style: italic;
  max-width: 68ch;
}

/* Sessions */

.session-box {
  margin-top: 0.25rem;
  background: var(--green);
  color: var(--white);
  padding: 1.6rem 1.75rem;
  border: 1px solid rgba(212, 181, 106, 0.45);
  text-align: start;
}

.session-box p {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.session-box p:last-child {
  margin-bottom: 0;
}

.session-box .icon {
  color: var(--gold-bright);
  width: 1.2em;
  height: 1.2em;
}

.session-box strong {
  font-weight: 700;
}

/* Table */

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

th, td {
  text-align: left;
  padding: 1rem 1.3rem;
}

th {
  background: var(--green);
  color: var(--gold-soft);
  font-family: var(--font-sc);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}

tbody tr:nth-child(even) {
  background: var(--cream);
}

td a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* Assembly */

.assembly {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 340px);
  gap: 2rem 2.25rem;
  align-items: start;
}

.event-title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  color: var(--green);
}

.event-theme {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--muted);
}

.flyer-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.flyer-link img {
  display: block;
  width: 100%;
}

.flyer-hint {
  display: block;
  text-align: center;
  font-family: var(--font-sc);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 0.7rem;
  background: var(--green);
  color: var(--gold-soft);
}

.flyer-link:hover .flyer-hint,
.flyer-link:focus-visible .flyer-hint {
  color: var(--white);
}

/* Contact */

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--gold);
  margin-top: 0.2rem;
}

.contact-list a {
  font-weight: 600;
  word-break: break-word;
}

/* Footer */

.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0 3.25rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(212, 181, 106, 0.4);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 1px rgba(212, 181, 106, 0.45);
}

.footer-name {
  margin: 0;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 600;
}

.footer-tag {
  margin: 0.2rem 0 0;
  font-family: var(--font-sc);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold-soft);
}

.footer-inner .flourish {
  margin: 1.15rem auto 1.25rem;
}

.disclaimer {
  max-width: 58ch;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  text-align: center;
  hyphens: manual;
}

/* Lightbox */

body:has(.lightbox:target) {
  overflow: hidden;
}

body:has(.lightbox:target) .site-header {
  visibility: hidden;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: #012807;
  overflow: auto;
  padding: 1.25rem 1rem 2rem;
  text-align: center;
}

.lightbox:target {
  display: block;
}

.lightbox img {
  width: min(900px, 100%);
  margin: 1rem auto 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid rgba(212, 181, 106, 0.5);
  padding: 0.45rem 1rem;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline-color: var(--gold);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .assembly {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    width: min(250px, 68%);
    margin-inline: auto;
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .flourish,
  .lede {
    margin-inline: auto;
  }

  .lede {
    text-align: center;
    hyphens: manual;
  }

  .assembly {
    max-width: 32rem;
    margin-inline: auto;
  }
}

@media (max-width: 800px) {
  .card-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--green-deep);
    border-top: 1px solid rgba(212, 181, 106, 0.3);
    padding: 0.5rem 0 1rem;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-nav {
    display: block;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }

  body.nav-open .menu-toggle-bars {
    background: transparent;
  }

  body.nav-open .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.1rem 0.7rem;
  }

  .site-nav a {
    font-size: 0.95rem;
    padding: 0.75rem 0.8rem;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  table, tbody, tr, td {
    display: block;
    width: 100%;
  }

  tbody tr {
    padding: 0.8rem 1rem 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  tbody tr:last-child {
    border-bottom: 0;
  }

  td {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.5rem;
    padding: 0.3rem 0.25rem;
    text-align: start;
  }

  td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    padding-top: 0.2rem;
  }

  .meta li,
  td {
    grid-template-columns: 7.6rem 1fr;
  }
}

@media (max-width: 520px) {
  .section-intro,
  .empty-state,
  .note,
  blockquote p {
    text-align: start;
    hyphens: auto;
  }

  .hero .lede {
    text-align: center;
    hyphens: manual;
  }

  .meta li,
  td {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .brand-place {
    display: none;
  }

  .wrap,
  .hero-inner {
    width: min(1100px, calc(100% - 1.75rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    transition: none;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .flyer-hint,
  .lightbox,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: inherit;
  }

  .hero,
  .session-box,
  .site-footer,
  th {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .hero .eyebrow,
  .lede,
  .brand-name,
  .footer-name {
    color: #000 !important;
  }

  .card, .table-wrap, .assembly-info, .hero-emblem {
    box-shadow: none;
  }
}
