/* ==============================
   Base CSS – Phase 1 Scaffold
   ============================== */

/* RESET (modern normalize-lite) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px; /* 1rem = 18px desktop 1280px+ */
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.4;
}

body.lb-disable-scrolling,
html.lb-disable-scrolling {
  overflow: hidden !important;
  height: 100% !important;
}

:root {
  --black: #212931;
  --dark-gray: #71717a;
  --mid-gray: #b4b5c1ff;
  --light-gray: #eff1f2;
  --white: #fdfefbff;
  --red: #cc0000;
}

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  text-transform: none;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.5rem;
  text-transform: none;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

h5 {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: 1rem;
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 0.05rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
  margin-top: 0;
}

.subtitle {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 300;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 1.25rem
}

h2.title+.subtitle {
  margin-top: 0.25rem;
}

h2.title {
  margin-top: 2rem;
  margin-bottom: 0; /* reduce space when subtitle exists */
}

h4.title+.subtitle {
  margin-top: 0rem;
}

h4.title {
  padding-bottom: 0.1rem;
  margin-bottom: 0; /* reduce space when subtitle exists */
}

p {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p.long {
  line-height: 1.725;
}

p.long:last-of-type {
  margin-bottom: 3rem;
}

strong,
b {
  font-weight: 500;
}

section {
  margin: 2rem auto 0 auto; /* space right after divider line */
  padding-bottom: 4rem; /* space right before divider line */
  border-bottom: 0.1rem solid var(--mid-gray);
  scroll-margin-top: 4.5rem;
}

article {
  margin-top: 2rem;
  margin-bottom: 0rem; /* spacing between articles */
  padding-top: 1rem;
  padding-bottom: 1rem; /* internal spacing for hover area */
  transition: background 0.2s;
}

article .subtitle {
  margin-bottom: 0.5rem;
}

article .page-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0rem;
  letter-spacing: 0.025rem;
}

article .page-nav a {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: none;
}

article .page-nav a:hover {
  color: var(--mid-gray);
  border-bottom: none;
}

article .page-nav a.inactive {
  color: var(--mid-gray);
  pointer-events: none;
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.15rem;
  overflow: hidden;
}

figure {
  display: inline-block;
  margin: 4rem 0 2rem 0;
  
}

figure img:hover {
  transform: scale(1.033);
  transition: ease-in-out 0.2s;
}

figcaption {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--mid-gray);
  text-align: left;
  margin-top: 0.5rem;
}

.hero-section {
  margin: 0 0 6rem 0;
  padding: 0;
  border-bottom: none;
  position: relative;
  background-image: linear-gradient(75deg, rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.33)), url("img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 3840 / 2160; /* replace with image aspect ratio */
}

.hero { /* title & subtitle */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 1.5rem 2rem 1rem 1.5rem; 
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  
}

.hero-title-mobile {
  display: none;
}

.hero-title-desktop {
  display: block;
}

@media (max-width: 767px) {
  .hero-title-mobile {
    display: block;
    margin-top: 0;
  }

  .hero-title-desktop {
    display: none;
  }
}

.hero-title {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0.25rem;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
  font-family: 'Crimson Text', 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-downarrow {
  position: absolute;
  bottom: 5rem;       /* distance from bottom of section */
  left: 50%;          /* horizontal center */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;         /* optional, remove extra spacing */
}


#contact {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7.5rem); /* fills viewport height, compensate for section {scroll-margin-top: 5.5rem;} */
  box-sizing: border-box;
}

.spacer {
  flex-grow: 1; /* fills remaining space below the content */
}

.symbol {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.downarrow, 
.downarrow:focus {
  all: unset;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: inline-flex;
  transform: rotate(135deg); /* rotate northeastarrow to downarrow */
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border: 0.1rem solid var(--black);
  border-radius: 50%;
  font-size: 2em;
  line-height: 1;
  color: var(--white);
  border-color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.downarrow:hover,
.downarrow:active {
  color: var(--mid-gray);
  border-color: var(--mid-gray);
  border: 0.1rem solid var(--mid-gray);
}
  
.downarrow:visited {
  color: var(--white);
  border-color: var(--white);
}


/* ==============================
   Lists
   ============================== */
ul {
  list-style: none;
  line-height: 1.3;
  margin: 1rem 0 3rem 0;
  text-indent: -1rem;
}

ul li::before {
  content: ">";
  margin-right: 0.5rem;
  color: var(--mid-gray);
}

ul li {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

footer.container {
  font-size: 0.92rem;
  line-height: 1;
  text-align: right;
  margin: 1rem 0;
  padding: 0 0;
  color: var(--dark-gray);
}

/* ==============================
   In-text links
   ============================== */

a, /* static */
a:focus { /* after click */
  color: var(--black);
  text-decoration: none;
  border-bottom: 0.1rem dotted var(--mid-gray);
  transition: all 0.2s ease-in-out;
}

a:hover {/* mouser-over and after tap */
  border-bottom: 0.1rem dotted transparent;
  color: var(--mid-gray);
}

a:active { /* briefly while clicking/tapping */
  border-bottom: 0.1rem dotted var(--mid-gray);
  color: var(--red);
}

/* ==============================
   Navigation
   ============================== */
.site-header {
  background: var(--white);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 2.8rem;
  padding: 0 1rem;
  position: sticky;
  top: 0;
  background: var(--white);
  margin-top: 2rem;
  z-index: 1000;
}

nav {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.025rem;
}

.nav-left {
  justify-self: start;
}

.nav-left,
.nav-center {
  text-transform: uppercase;
}

.nav-center {
  justify-self: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nav-right {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-center a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 0.1rem solid transparent;
  transition: all 0.1s ease-in-out;
}

.nav-center a:hover,
.nav-center a:focus,
.nav-center a.active {
  color: var(--black);
  border-bottom: 0.1rem solid var(--black);
}

.nav-left a,
.nav-right a {
  color: var(--black);
  text-decoration: none;
  border-bottom: none;
  transition: all 0.1s ease-in-out;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--mid-gray);
  border-bottom: none;
}

/* ==============================
   Mobile Nav Toggle (slide-in)
   ============================== */
.nav-toggle {
  display: none; /* hidden by default */
  position: relative;
}

.hamburger {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 1.33rem;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--white);
  border-radius: 0.15rem;
  z-index: 3000; /* keep above panel */
  position: relative;
  height: 1.25rem;
}

#menu-toggle {
  display: none; /* Hide checkbox */
}

/* Mobile panel (off-canvas by default) */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%; /* hidden off-screen */
  height: 100%;
  width: 67%; /* sidebar width */
  background: var(--white);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.3s ease-in-out;
  z-index: 2000;
}

/* Stack links */
.mobile-panel a {
  display: block;
  padding: 0.4rem 0;
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.33rem;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 0 transparent var(--light-gray);
  transition: color 0.2s ease-in-out;
}

.mobile-panel a:hover {
  color: var(--mid-gray);
  border-bottom: 0 transparent var(--light-gray);
}

.mobile-social {
  margin-top: auto; /* push socials to bottom */
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mobile-social a {
  text-transform: none;
} 

.mobile-social .symbol {
  font-size: 1.33rem; /* same as desktop arrow */
  line-height: 1;
  vertical-align: middle;
}

/* slide panel when menu is open */
#menu-toggle:checked ~ .mobile-panel {
  right: 0;
}

.hamburger .icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  color: var(--black);
}

.hamburger .close {
  display: none;
}

#menu-toggle:checked ~ .hamburger .menu {
  display: none;
}

#menu-toggle:checked ~ .hamburger .close {
  display: inline-block;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 1500;
}

/* Show backdrop when menu is open */
#menu-toggle:checked ~ .mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ==============================
   Buttons
   ============================== */
a.btn,
a.btn:focus {
  display: inline-block; /* makes <a> behave like button */
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  line-height: 0.85;
  padding: 0.5rem 0.5rem;
  border: none;
  border-radius: 0.15rem;
  background-color: var(--black);
  color: var(--white) !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a.btn:hover {
  background-color: var(--light-gray);
  color: var(--black);
}

a.btn:hover,
a.btn:focus {
  color: var(--black) !important;
}

/* Keep wrapper as-is */
.button-wrapper {
  text-align: right;
  margin-top: 1rem;
}

/* ==============================
   Layout helpers
   ============================== */
.container {
  max-width: 1280px; /* default, largest design size */
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 3rem;
  row-gap: 0;
  align-items: flex-start;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 0;
  align-items: flex-start;
}

.grid-2 article {
  min-width: 0;
}

.grid-2 article .title {
  display: block;
  width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-2-asym {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr; /* left-right ratio */
  column-gap: 7%;
  align-items: flex-start;
}

/* ==============================
   Media
   ============================== */

.embedded-youtube {
  position: relative;
  width: 100%;
}

.embedded-soundcloud {
  position: relative;
  width: 100%;
}

/* Force embeds to stay below overlays */
.embedded-youtube iframe,
.embedded-soundcloud iframe {
  position: relative;
  z-index: 0;
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
  margin: 0;
}

.instagram-wrapper blockquote.instagram-media {
    width: 100% !important;
    max-width: 727px !important;
    border-radius: 0.25rem !important;
    box-shadow: 0 0 1px rgba(0,0,0,0.5), 0 1px 10px rgba(0,0,0,0.15) !important;
    margin: 0 auto !important;
}

/* ==============================
   Works List Table / Card Hybrid
   ============================== */

.works-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 3rem;
  table-layout: fixed;
}

.works-list td {
  font-size: 0.92rem;
  line-height: 1rem;
  height: 3rem;
  vertical-align: middle;
  padding: 0.5rem 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.works-list th {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 200;
  text-transform: none;
  line-height: 1;
  font-style: italic;
  padding: 0 0 2rem 1rem;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 0.05rem;
}

.works-list th, .works-list td {
  vertical-align: middle;
}

.works-list tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.2s ease-in-out;
}

.works-list tr:first-child { border-top: none; }
.works-list tr:last-child { border-bottom: none; }
.works-list tr:hover { background: var(--white); }
.works-list thead tr:hover { background: unset; }

/* First real column (Title) */
.works-list td:nth-child(2) {
  font-weight: 400;
  white-space: normal;
}

/* New first column (pseudo-link column) */
.works-list td:first-child {
  width: 1.5rem;
  text-align: left;
  color: var(--mid-gray);
  padding: 0;          /* optional to tighten the column */
  border-bottom: 1px solid transparent;        /* no border for this column */
}

/* Column widths */
.works-list th:nth-child(1), .works-list td:nth-child(1) { width: 2%; /* Duration */ }
.works-list th:nth-child(2), .works-list td:nth-child(2) { width: 40%; /* Title */ }
.works-list th:nth-child(3), .works-list td:nth-child(3) { width: 30%; /* Scoring */ }
.works-list th:nth-child(4), .works-list td:nth-child(4) { width: 13%; /* Year */ }
.works-list th:nth-child(5), .works-list td:nth-child(5) { width: 12%; /* Duration */ }

tr.row-link:hover { background-color: var(--light-gray); }


/* Works filter */
.works-filter {
  margin-bottom: 2rem;
  text-align: right;
  position: relative;
}

.works-filter select {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: 0.92rem;
  line-height: 1.3;
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--mid-gray);
  border-radius: 0.15rem;
  padding: 0.4rem 2rem 0.4rem 0.6rem;
  appearance: none; /* remove browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.works-filter select:hover,
.works-filter select:focus {
  border-color: var(--black);
  outline: none;
}

.works-filter::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.92rem;
  color: var(--mid-gray);
  pointer-events: none;
}


/* ==============================
   Work Detail Pages
   ============================== */
.work-detail h2.title {
  margin-top: 3rem;
}

.work-detail .wrapper {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.work-detail .grid-2 {
  margin-top: 3rem;
}

.work-meta {
  margin: 2rem 0 3rem 0;
}

.work-meta li {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 0.92rem;
  color: var(--dark-gray);
  line-height: 1.3;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
}

.performances ul {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 0.92rem;
  color: var(--dark-gray);
  margin: 0.5rem 0 3rem 0;
}

.score-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0 3rem 0;
}

.score-thumbs a {
  border-bottom: none;
}

.score-thumbs a:not(:first-child) {
  display: none; /* hide all but first score preview image*/
}

.score-thumbs img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
  cursor: zoom-in;
  transition: transform 0.2s ease-in-out;
  margin-top: 0rem;
}

.score-thumbs img:hover {
  transform: scale(1.025);
}

.work-notes p:last-child {
  margin-bottom: 3rem;
}

blockquote {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.3;
  margin: 3rem 0 0 2.5rem;
}

blockquote.author {
  text-align: left;
  margin: 1rem 0 2rem 0;
} 

.work-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  letter-spacing: 0.025rem;
}

.work-nav a {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: none;
}

.work-nav a:hover {
  color: var(--mid-gray);
}

.work-nav a.inactive {
  color: var(--mid-gray);
  pointer-events: none;
  cursor: default;
}

/* === GLightbox Overrides === */

.goverlay {
  background: rgba(0, 0, 0, 0.75) !important;
}

.gslide-image img {
  max-width: 95vw;   /* avoid edge-to-edge stretching */
  max-height: 90vh;  /* prevent vertical overflow */
  object-fit: contain;
  margin: 0 auto;    /* center horizontally */
  display: block;
}

/* ==============================
   Events
   ============================== */
.events-wrapper {
  display: flex;
  flex-direction: column;
  margin: 4rem 1rem 0 1.5rem;
}

.event {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
}


.event a:hover,
.event a:focus,
.event a.active {
  color: var(--black);
}

.event-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.event-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.event-link .event {
  cursor: pointer;
}

.event-date {
  margin-top: 0.75rem;
  max-width: 6rem;
  height: 6rem;
  background: var(--light-gray);
  border-radius: 1.5px;
  flex: 0 0 8rem;
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
}

.event-date .year {
  display: block;
  font-size: 1.33rem;
  font-weight: 200;
  color: var(--mid-gray);
}

.event-date .month-day {
  display: block;
  font-size: 1.33rem;
  font-weight: 300;
}

.event-date .time {
  font-size: 1.33rem;
  font-weight: 200;
}

.event-details {
  flex: 1;
}

.event-details .title {
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

/* Inject arrow inline for linked events only */
a .event-details .title::after {
  content: " ↗";
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, sans-serif;
  font-size: 1.33rem;
  font-weight: 200;
  line-height: 1.25;
}

.event-details .occasion {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 200;
  font-style: italic;
  line-height: 1.25;
}

.event-details .location {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.25;
}

.event-details .location::before {
  content: " > > ";
}

.event-row:hover {
  background-color: var(--light-gray);
  -moz-transition: background-color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.past-event .event-date,
.past-event .event-details,
.past-event .event-details .title,
.past-event .event-details .occasion,
.past-event .event-details .location {
  color: var(--mid-gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cancel hover effect for past events */
.past-event .event-row:hover {
  background: inherit !important;
  color: inherit !important;
  cursor: default !important;
}

/* Hide arrow for past events */
.past-event .event-details .title::after {
  content: none;
}


/* ==============================
   Responsive
   ============================== */

/* Mobile: switch works list to card view */

@media (max-width: 767px) {
  .works-list thead {
    display: none;
    /* hide header row */
  }

  .works-list,
  .works-list tbody,
  .works-list tr {
    display: block;
    width: 100%;
    font-size: 1rem;
  }

  .works-list tr {
    margin-bottom: 0.75rem;
    border: 1.5px solid var(--light-gray);
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem 1.5rem 0.75rem;
    background: var(--white);
  }

  .works-list tr:hover {
    background: var(--white);
  }

  .works-list tr:first-child {
    border-top: 1px solid var(--light-gray);
  }

  .works-list tr:last-child {
    border-bottom: 1px solid var(--light-gray);
  }

  /* Default hide all cells */
  .works-list td {
    display: none;
    border: none;
    padding: 0;
    white-space: normal;
  }

  .works-list td[data-label="Title"] {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
    line-height: 1.25;
    width: 100%;
    height: auto;
  }

  .works-list td[data-label="Scoring"],
  .works-list td[data-label="Year"],
  .works-list td[data-label="Duration"] {
    display: inline;
    margin: 0;
    padding: 0;
    line-height: 0.85;
  }

  .works-list td[data-label="Scoring"]::after,
  .works-list td[data-label="Year"]::after {
    content: " • ";
    font-family: 'Arial', sans-serif;
    margin: 0 0.25rem;
    color: var(--mid-gray);
  }

  .works-list td[data-label="Duration"]::after {
    content: "";
  }

  .works-list tr.row-link {
    border: 1.5px solid var(--mid-gray);
  }

}

/* ==============================
   Breakpoints
   ============================== */
@media (any-pointer: coarse) and (hover: none) { /* touch devices */
  a:hover {/* mouser-over and after tap */
    border-bottom: 0.1rem dotted var(--mid-gray);
    color: var(--black);
  }

  a:active { /* briefly while clicking/tapping */
    border-bottom: 0.1rem dotted transparent;
    color: var(--mid-gray);
  }
}

@media (max-width: 1279px) {
  .container {
    max-width: 1024px;
  }

  html {
    font-size: 16px;
  }
}

@media (max-width: 1023px) {
  .container {
    max-width: 768px; }
}


@media (max-width: 767px) {
  html {
    font-size: 18px;
  }

  figure {
    margin-top: 0;
  }

  .hero-section {
    background-size: cover;
    background-position: center;
    height: auto;
  }

  .hero {
    padding: 0.75rem 1.25rem 5rem 1.5rem; 
  }

  .main-nav {
   grid-template-columns: 1fr;
  }

  .nav-left a:hover {
  color: var(--black);
  }

  .nav-center,
  .nav-right {
    display: none; /* hide desktop nav & socials */
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .grid-3,
  .grid-2-asym {
    grid-template-columns: 1fr;
  }

  .works-filter,
  .works-filter::after {
    display: none; /* hide for now until fix */
  }

  .work-detail .wrapper {
  max-width: auto;
  }

  .work-detail .grid-2 {
  margin-top: 4rem;
  grid-template-columns: 1fr;
  }

  .score-thumbs {
  margin-bottom: 4rem
  }
}

@media (max-width: 479px) {
  html {
    font-size: 16px;
  }
}