:root {
  color-scheme: light;
  --cream: #f5efe6;
  --cream-soft: #fbf8f2;
  --ink: #171716;
  --muted: #5f5a51;
  --forest: #123f3d;
  --forest-deep: #082f35;
  --blue: #1c6d8b;
  --ochre: #c99b42;
  --rust: #9f4d2d;
  --line: rgba(23, 23, 22, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --directory-feature-title-max: 20ch;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("./halo-lines.svg") center top / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

a {
  color: inherit;
}

.directory-page {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 100vh;
}

.directory-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.directory-hero-intro {
  background:
    linear-gradient(90deg, rgba(245, 239, 230, 0.98) 0%, rgba(245, 239, 230, 0.9) 48%, rgba(232, 243, 237, 0.88) 100%);
}

.directory-hero-intro .directory-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.directory-hero-workshop {
  color: #f9f5ee;
  background:
    linear-gradient(90deg, rgba(8, 47, 53, 0.98) 0%, rgba(18, 63, 61, 0.96) 58%, rgba(28, 109, 139, 0.92) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.directory-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 72px;
  width: min(1120px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  padding: 76px 0 92px;
}

.directory-copy {
  max-width: 780px;
}

.directory-hero-intro .directory-copy,
.directory-partner-copy {
  max-width: 920px;
}

.landing-subtitle {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.directory-hero-workshop .landing-subtitle {
  color: #f0c263;
}

.landing-title {
  margin: 0;
  max-width: 17ch;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 4.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}

.directory-feature-title {
  max-width: var(--directory-feature-title-max);
}

.landing-summary {
  max-width: 72ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.375rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.directory-hero-workshop .landing-summary {
  color: rgba(249, 245, 238, 0.78);
}

.directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.directory-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.directory-button:hover,
.directory-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.directory-button-primary {
  color: #fffaf2;
  background: var(--forest);
  border-color: var(--forest);
}

.directory-button-secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(18, 63, 61, 0.22);
}

.directory-hero-workshop .directory-button-primary {
  color: var(--forest-deep);
  background: #f0c263;
  border-color: #f0c263;
}

.directory-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 0 0 12px 32px;
  border-left: 1px solid var(--line);
}

.directory-hero-workshop .directory-panel {
  border-left-color: var(--line-light);
}

.directory-panel-label {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.directory-hero-workshop .directory-panel-label {
  color: #f0c263;
}

.directory-panel-value {
  margin: 0;
  color: var(--forest);
  font-size: 7rem;
  font-weight: 800;
  line-height: 0.9;
}

.directory-hero-workshop .directory-panel-value {
  color: #fffaf2;
}

.directory-panel-value-text {
  font-size: 2.35rem;
  line-height: 1.12;
}

.directory-panel-copy {
  max-width: 28ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.directory-hero-workshop .directory-panel-copy {
  color: rgba(249, 245, 238, 0.72);
}

.directory-session-list {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.directory-session-list li {
  border-top: 1px solid var(--line-light);
}

.directory-session-link {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  color: #fffaf2;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease;
}

.directory-session-link:hover,
.directory-session-link:focus-visible {
  transform: translateX(4px);
  outline: none;
}

.directory-session-city {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.directory-session-date {
  color: #f0c263;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.directory-session-venue {
  color: rgba(249, 245, 238, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.workshop-heroes {
  position: relative;
}

.directory-partner-hero {
  background:
    radial-gradient(circle at 16% 22%, rgba(201, 155, 66, 0.16), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(28, 109, 139, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(245, 239, 230, 0.98) 0%, rgba(245, 239, 230, 0.92) 48%, rgba(232, 243, 237, 0.9) 100%);
}

.directory-partner-hero-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 82px 0 104px;
}

.directory-partner-copy {
  max-width: 920px;
}

.directory-partner-title {
  color: var(--forest-deep);
  font-size: clamp(3rem, 4.8vw, 4.15rem);
}

.directory-partner-summary {
  max-width: 58ch;
}

@media (max-width: 900px) {
  .directory-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding: 64px 0 72px;
  }

  .landing-title {
    max-width: 15ch;
    font-size: 3rem;
  }

  .directory-feature-title {
    max-width: var(--directory-feature-title-max);
  }

  .directory-panel {
    min-height: auto;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .directory-hero-workshop .directory-panel {
    border-top-color: var(--line-light);
    border-left: 0;
  }

  .directory-panel-value {
    font-size: 5.4rem;
  }

  .directory-panel-value-text {
    font-size: 2rem;
  }

  .directory-session-link {
    padding: 16px 0;
  }

  .directory-partner-hero-inner {
    width: min(100% - 48px, 1120px);
    padding: 72px 0 84px;
  }
}

@media (max-width: 560px) {
  .directory-hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 46px 0 56px;
  }

  .landing-subtitle {
    font-size: 0.78rem;
  }

  .landing-title {
    max-width: none;
    font-size: 2.4rem;
    line-height: 1.08;
  }

  .landing-summary {
    margin-top: 20px;
    font-size: 1.05rem;
  }

  .directory-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .directory-button {
    width: 100%;
    min-height: 46px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .directory-panel-value {
    font-size: 4.4rem;
  }

  .directory-panel-value-text {
    font-size: 1.65rem;
  }

  .directory-session-city {
    font-size: 1.2rem;
  }

  .directory-partner-hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 52px 0 62px;
  }

  .directory-partner-title {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.08;
  }
}
