/* WCCFL 45 — University of Utah
   Red rock + mountain west palette, academic typography */

:root {
  --paper: #faf6ef;
  --card: #fcf8f1;
  --ink: #2b2420;
  --muted: #6e6255;
  --slate: #24343e;
  --redrock: #9e3524;
  --redrock-dark: #74261a;
  --sandstone: #e9bb90;
  --sage: #8a977a;
  --rule: #dccbb2;
  --max-width: 50rem;
  --poster-width: 64rem;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: var(--redrock);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--redrock-dark);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header: framed photo with a red-rock band */

.site-header {
  padding: 1.5rem 1.25rem 0;
}

.poster {
  max-width: var(--poster-width);
  margin: 0 auto;
  border: 1px solid var(--slate);
  background: var(--redrock);
  color: var(--paper);
}

.poster a {
  color: inherit;
  text-decoration: none;
}

.poster-art {
  padding: 3rem 1.5rem 9rem;
  text-align: center;
  background-color: var(--slate);
  background-image: url("images/banner.jpg");
  background-size: cover;
  background-position: center top;
}

.poster .kicker {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.35);
}

.poster h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.45);
}

.poster-band {
  padding: 1rem 1.5rem 1.1rem;
  text-align: center;
  border-top: 1px solid var(--sandstone);
}

.poster-band .host {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.poster-band .when-where {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.4;
  color: var(--sandstone);
}

/* Compact header for inner pages: band only, no photo */

.poster-compact .poster-band {
  border-top: none;
  padding: 1.25rem 1.5rem 1.1rem;
}

.poster-compact .site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Navigation */

.site-nav {
  width: calc(100% - 2.5rem);
  max-width: var(--poster-width);
  margin: 1.25rem auto 0;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 2rem;
  margin: 0;
  padding: 0.6rem 0 0.5rem;
  list-style: none;
}

.site-nav a {
  color: var(--slate);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--redrock);
}

/* Main content */

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

h2,
main h1 {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--redrock);
}

h2:first-child,
main h1:first-child {
  margin-top: 0;
}

h3 {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate);
}

ul.spaced li {
  margin-bottom: 0.45rem;
}

ul.spaced li::marker {
  color: var(--redrock);
}

.callout {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--redrock);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.callout p:first-child {
  margin-top: 0;
}

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

.tbd {
  font-style: italic;
  color: var(--muted);
}

/* Important dates */

table.dates {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
}

table.dates th,
table.dates td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

table.dates th {
  width: 45%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate);
}

/* Footer */

/* red rock, matching the header band, with a sandstone edge */
.site-footer {
  background: linear-gradient(to bottom, var(--sandstone) 0 3px, var(--redrock) 3px);
  color: var(--paper);
  text-align: center;
  padding: 2.1rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer .sign-off {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  color: var(--sandstone);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--sandstone);
}
