/* site.css */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}

body {
  margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  vertical-align: baseline;
  display: inline-block;
}

audio:not([controls]) {
  height: 0;
  display: none;
}

[hidden], template {
  display: none;
}

a {
  background-color: #0000;
}

a:active, a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  margin: .67em 0;
  font-size: 2em;
}

mark {
  color: #000;
  background: #ff0;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code, kbd, pre, samp {
  font-family: monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type="button"], input[type="reset"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

/* height: auto keeps every image's proportions when publish adds width/height attributes.
   A class that sets its own height (e.g. a cropped cover image) still wins. */
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

html.w-mod-touch * {
  background-attachment: scroll !important;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

html[data-w-dynpage] [data-w-cloak] {
  color: #0000 !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 10px;
  font-weight: bold;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 44px;
}

h2 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 36px;
}

h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 30px;
}

h4 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 24px;
}

h5 {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
}

h6 {
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

blockquote {
  border-left: 5px solid #e2e2e2;
  margin: 0 0 10px;
  padding: 10px 20px;
  font-size: 18px;
  line-height: 22px;
}

figure {
  margin: 0 0 10px;
}

figcaption {
  text-align: center;
  margin-top: 5px;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

button, [type="button"], [type="reset"] {
  cursor: pointer;
  -webkit-appearance: button;
  border: 0;
}

.w-form-done {
  text-align: center;
  background-color: #ddd;
  padding: 20px;
  display: none;
}

.w-form-fail {
  background-color: #ffdede;
  margin-top: 10px;
  padding: 10px;
  display: none;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  display: block;
}

.w-richtext:before, .w-richtext:after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

.w-richtext:after {
  clear: both;
}

.w-richtext[contenteditable="true"]:before, .w-richtext[contenteditable="true"]:after {
  white-space: initial;
}

.w-richtext ol, .w-richtext ul {
  overflow: hidden;
}

.w-richtext figure[data-rt-type="video"] > div:after{
  content: "";
  display: none;
  position: absolute;
  inset: 0;
}

.w-richtext figure {
  max-width: 60%;
  position: relative;
}

.w-richtext figure > div:before {
  cursor: default !important;
}

.w-richtext figure img {
  width: 100%;
}

.w-richtext figure div {
  color: #0000;
  font-size: 0;
}

.w-richtext figure[data-rt-type="image"]{
  display: table;
}

.w-richtext figure[data-rt-type="image"] > div{
  display: inline-block;
}

.w-richtext figure[data-rt-type="image"] > figcaption{
  caption-side: bottom;
  display: table-caption;
}

.w-richtext figure[data-rt-type="video"]{
  width: 60%;
  height: 0;
}

.w-richtext figure[data-rt-type="video"] iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.w-richtext figure[data-rt-type="video"] > div{
  width: 100%;
}

[data-nav-menu-open] {
  text-align: center;
  background: #c8c8c8;
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: visible;
  display: block !important;
}

.w--nav-link-open {
  display: block;
  position: relative;
}

.w-nav-overlay {
  width: 100%;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
}

.w-nav-overlay [data-nav-menu-open] {
  top: 0;
}

.w--nav-dropdown-open,.w--nav-dropdown-toggle-open{
  display: block;
}

.w--nav-dropdown-list-open {
  position: static;
}

.w--tab-active {
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.wf-layout-layout {
  display: grid;
}

body {
  background-color: var(--_theme---color-bg);
  min-height: 100svh;
  color: var(--_theme---color-text);
  font-family: var(--font-primary);
  font-size: var(--_sizing---type-base);
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  line-height: 1.4;
  display: flex;
}

a {
  color: var(--_theme---color-text-link);
  text-underline-offset: .15rem;
  text-decoration: none;
  -webkit-text-decoration-color: var(--_theme---color-text-link);
  text-decoration-color: var(--_theme---color-text-link);
  -webkit-text-decoration-skip-ink: auto;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: .05rem;
}

a:hover {
  color: var(--_theme---color-text);
}


.body {
  background-color: var(--_theme---color-bg);
  color: var(--_theme---color-text);
  font-family: var(--font-primary);
  font-size: var(--_sizing---type-base);
  line-height: var(--_sizing---line-spacing-base);
  justify-content: center;
  align-items: stretch;
}

.div-block {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.section {
  z-index: 100;
  position: sticky;
}

.text-block {
  cursor: pointer;
}

.div-block-2 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: auto auto auto auto auto auto auto auto auto;
  grid-template-columns: 1fr 3fr 1fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: row;
  width: 100%;
  display: grid;
}

.div-block-3 {
  flex-flow: column;
  display: none;
}

.div-block-4 {
  width: 100%;
  overflow: hidden;
}

.image {
  width: 100%;
  height: auto;
  display: block;
}

.div-block-5 {
  flex-flow: column;
  display: flex;
}

.div-block-6 {
  justify-content: flex-end;
  align-items: center;
  height: 50vh;
  display: flex;
}

.nav {
  z-index: 10;
  padding: .5rem var(--_sizing---gutter);
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  background-color: var(--_theme---color-bg);
  grid-template-rows: auto;
  grid-template-columns: 1fr auto 1fr;
  grid-auto-columns: 1fr;
  margin-top: 0;
  display: grid;
  position: sticky;
  top: 0;
}

/* The nav link for the page you are on (marked by the shared nav script) */
.nav-link[aria-current="page"] {
  color: var(--_theme---color-text);
  text-decoration: none;
}

.nav-link.is-meta {
  color: var(--_theme---color-text-link);
  text-align: right;
  display: none;
}

.nav-link.is-meta:hover {
  color: var(--_theme---color-text);
}

.nav-tagline {
  margin-bottom: 0;
}

.nav-filter {
  color: var(--_theme---color-text-link);
  text-underline-offset: .25rem;
}

.nav-filter:hover {
  color: var(--_theme---color-text);
}

.tile {
  width: 100%;
  min-width: 0;
}

.tile.is-project {
  grid-column-gap: 0;
  grid-row-gap: var(--_sizing---gutter);
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
  justify-items: end;
}

.tile-media {
  min-width: 0;
  max-width: 100%;
  display: block;
}

.tile-image {
  width: 100%;
  height: auto;
  min-width: 0;
  display: block;
}

/* Tile caption: title, credit and Listen stacked on the left, the year on the right, the line below
   (the same pattern as the list rows on phones) */
.tile-caption {
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: 0;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 4.5em;
  align-content: start;
  place-items: start stretch;
  align-self: stretch;
  min-width: 0;
  max-width: 100%;
  margin-top: .5rem;
  padding-bottom: var(--_sizing---space-xs);
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  display: grid;
}

.tile-year {
  text-align: right;
  display: flex;
}

/* The caption's two inner wrappers don't draw anything: their items sit straight in the caption grid */
.tile-text {
  display: contents;
}

.tile-title {
  width: 100%;
  font-size: var(--_sizing---type-base);
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.4;
}

.tile-action {
  text-align: right;
  justify-content: flex-start;
  align-items: flex-start;
  text-decoration: none;
  display: inline-flex;
}

.tile-category {
  display: none;
}

/* CMS wrappers around the home tiles: let the tiles sit straight in the .project-wrapper grid */
.project-cms,
.project-list {
  display: contents;
}

.project-wrapper {
  margin-top: 0;
  margin-bottom: var(--_sizing---space-l);
  padding-right: var(--_sizing---gutter);
  padding-left: var(--_sizing---gutter);
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: var(--_sizing---gutter);
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  place-items: end stretch;
  display: grid;
}

.tile-card {
  min-width: 0;
  padding-top: var(--_sizing---space-l);
}

.tile-row {
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: var(--_sizing---gutter);
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  grid-template-rows: auto;
  grid-template-columns: 2.5rem 2fr 2fr 1fr 1fr;
  grid-auto-columns: 1fr;
  place-items: start;
  padding-top: .25rem;
  padding-bottom: .35rem;
  display: grid;
}

.tile-row.is-cv {
  grid-template-columns: 2fr 2fr 1fr 1fr 4.5em;
}

/* Home List rows: fixed columns, so a project without a recording (no Listen button)
   keeps its title under Project. Listen is just ▶ here; the header says "Listen" once. */
.row-action {
  grid-column: 1;
  min-width: 24px;
  min-height: 24px;
}

.row-link {
  grid-column: 2;
}

.row-credit {
  grid-column: 3;
}

.row-categories {
  grid-column: 4;
}

.row-year {
  grid-column: 5;
}

.row-listen-label {
  display: none;
}

/* Comma after a category only when a visible category follows it (works with display rules) */
.listen-svg {
  display: block;
  width: 0.5em;
  height: 0.6em;
}

.cv-year-end.has-dash:not(:empty)::before {
  content: "–";
}

.row-categories > .row-category:has(~ .row-category:not([hidden], [style*="display: none"], [style*="display:none"]))::after {
  content: ", ";
}

.row-credit {
  color: var(--_theme---color-text-link);
}

.row-year {
  text-align: right;
}

.row-category {
  text-transform: capitalize;
}

.nav-right {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  justify-content: flex-end;
  align-items: flex-start;
  display: flex;
}

.index-header {
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: var(--_sizing---gutter);
  border-bottom: .5px none var(--_theme---color-border);
  grid-template-rows: auto;
  grid-template-columns: 2.5rem 2fr 2fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-self: stretch;
  justify-items: stretch;
  padding-top: .5rem;
  padding-bottom: .5rem;
  display: grid;
}

.sort-link {
  text-decoration: none;
}

.sort-link.is-year {
  text-align: right;
}

.tile-listen {
  display: none;
}

.listen-play {
  grid-column-gap: .3rem;
  grid-row-gap: .3rem;
  justify-content: center;
  align-items: center;
  display: flex;
}

.listen-play.is-playing {
  display: none;
}

.listen-pause {
  grid-column-gap: .3rem;
  grid-row-gap: .3rem;
  justify-content: center;
  align-items: center;
  display: none;
}

.listen-pause.is-playing {
  display: flex;
}

.listen-icon {
  flex: 0 auto;
  width: .5rem;
}

.row-link {
  color: var(--_theme---color-text);
  text-decoration: none;
}

.row-action {
  justify-content: flex-start;
  align-items: center;
  height: 1.4rem;
  display: flex;
}

.credit-with {
  color: var(--_theme---color-text);
  margin-right: .25rem;
  display: inline;
}

.theme-toggle {
  justify-content: center;
  align-self: center;
  align-items: center;
  display: flex;
}

.theme-icon {
  height: .9rem;
}

.theme-svg {
  width: .9em;
  height: .9em;
  display: block;
}

/* Phone menu. On Tablet and desktop the panel's contents sit in the nav bar as before (display: contents),
   and the menu button and contact links are hidden. */
.nav-menu {
  display: contents;
}

.nav-menu-button,
.nav-contact {
  display: none;
}

.nav-menu-button {
  min-width: 24px;
  min-height: 24px;
  color: var(--_theme---color-text-link);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  justify-self: end;
  justify-content: center;
  align-items: center;
}

.nav-menu-button:hover {
  color: var(--_theme---color-text);
}

.nav-icon {
  width: 1em;
  height: 1em;
  display: block;
}

.nav-icon svg {
  display: block;
}

.nav-menu-icon-close {
  display: none;
}

.nav.is-menu-open .nav-menu-icon-open {
  display: none;
}

.nav.is-menu-open .nav-menu-icon-close {
  display: block;
}

.nav-contact-link {
  color: var(--_theme---color-text-link);
}

.nav-contact-link:hover {
  color: var(--_theme---color-text);
}

@keyframes nav-menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}

.footer-item {
  margin-bottom: 0;
}

/* Footer: copyright on the left, contact links in the centre, credits on the right (each group stacks its lines) */
.footer-contact {
  grid-column-gap: 1rem;
  grid-row-gap: var(--_sizing---space-xxs);
  flex-wrap: wrap;
  justify-content: center;
  align-self: start;
  display: flex;
}

.footer-contact-link {
  color: var(--_theme---color-text-link);
}

.footer-contact-link:hover {
  color: var(--_theme---color-text);
}

/* Desktop: each section on one line */
.footer-group {
  grid-column-gap: 1rem;
  flex-wrap: wrap;
  display: flex;
}

.footer-credits {
  justify-content: flex-end;
  text-align: right;
}

.footer {
  padding: .5rem var(--_sizing---gutter);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  margin-top: auto;
  display: grid;
}

.credit-group {
  display: inline;
}

.tile-meta {
  display: contents;
}

.tile-categories {
  text-transform: capitalize;
  display: none;
}

/* Tile title: opens the project page */
.tile-title-link {
  color: var(--_theme---color-text);
  text-decoration: none;
  display: block;
}

/* Hovering anywhere on a tile (image or caption) or on a List view row underlines the project title;
   so does keyboard focus on the title */
.tile-card:hover .tile-title-link,
.tile-title-link:focus-visible,
.tile-row:hover .row-link,
.row-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15rem;
  text-decoration-thickness: var(--_sizing---border);
}

/* Home tiles react only to the image and the caption, not to the empty space a grid cell
   has above a shorter image: the tile and card let the pointer through, their parts take it */
.project-wrapper .tile,
.tile-card {
  pointer-events: none;
}

.tile-media,
.tile-caption,
.tile-row {
  pointer-events: auto;
}

/* ---------- Coming soon (the project's "Coming soon" switch) ----------
   The tile and the List row don't link anywhere; hovering the tile dims the image and shows
   "Coming soon" on top of it. */
.tile-media {
  position: relative;
}

.tile-image {
  transition: opacity 0.25s;
}

.tile-soon {
  display: none;
}

.tile[data-coming-soon] .tile-media {
  cursor: default;
}

.tile[data-coming-soon] .tile-title-link,
.tile[data-coming-soon] .row-link {
  pointer-events: none;
  cursor: default;
}

.tile[data-coming-soon] .tile-card:hover .tile-title-link,
.tile[data-coming-soon] .tile-row:hover .row-link {
  text-decoration: none;
}

.tile[data-coming-soon] .tile-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--_theme---color-text);
  white-space: nowrap;
}

/* Image dimmed to 20% (the same as projects outside an active filter) with "Coming soon" on top:
   on hover, when the tile's Listen button has keyboard focus, and always on touch screens */
.tile[data-coming-soon] .tile-card:hover .tile-image,
.tile[data-coming-soon] .tile-card:focus-within .tile-image {
  opacity: 0.2;
}

.tile[data-coming-soon] .tile-card:hover .tile-soon,
.tile[data-coming-soon] .tile-card:focus-within .tile-soon {
  display: block;
}

@media (hover: none) {
  .tile[data-coming-soon] .tile-image {
    opacity: 0.2;
  }

  .tile[data-coming-soon] .tile-soon {
    display: block;
  }
}

/* "(coming soon)" after the title, for screen readers only; hidden on projects that are out */
.soon-note {
  display: none;
}

.tile[data-coming-soon] .soon-note {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  .tile-image {
    transition: none;
  }
}

/* Where each item sits in the tile caption (scoped to the caption: Listen, title and credit are also used
   in the list rows and on the project page, which lay them out differently) */
.tile-caption .tile-title,
.tile-caption .tile-heading {
  grid-area: 1 / 1 / 2 / 2;
}

/* Project titles on Home are headings for screen readers, styled like the text around them */
.tile-heading,
.row-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.tile-caption .tile-credit {
  grid-area: 2 / 1 / 3 / 2;
}

.tile-caption .tile-action {
  grid-area: 3 / 1 / 4 / 2;
  justify-self: start;
}

.tile-caption .tile-year {
  grid-area: 1 / 2 / 4 / 3;
  justify-content: flex-end;
}

.about-layout {
  margin-top: var(--_sizing---space-l);
  margin-bottom: var(--_sizing---space-l);
  padding-right: var(--_sizing---gutter);
  padding-left: var(--_sizing---gutter);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: column;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  place-items: start;
  display: grid;
}

.about-bio {
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

/* The CV sections on About sit as far apart as every other section */
.about-cv {
  display: flex;
  flex-direction: column;
  gap: var(--_sizing---section-gap);
}

.cv-heading {
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  width: 100%;
  font-size: var(--_sizing---type-base);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--_sizing---space-xs);
  padding-bottom: var(--_sizing---space-xs);
  font-weight: 400;
  line-height: 1.4;
}

.cv-heading.is-contents {
  width: auto;
  display: inline-block;
}

.cv-years {
  text-align: right;
}

.nav-views {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  display: none;
}

.bio-heading {
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  width: 100%;
  font-size: var(--_sizing---type-base);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: .5rem;
  padding-bottom: .5rem;
  font-weight: 400;
  line-height: 1.4;
}

.bio-text {
  margin-bottom: var(--_sizing---space-s);
}

/* About: Contact section, one row per link (label, then the link), spaced like the other About sections */
.contact-list {
  margin: 0;
  padding: var(--_sizing---space-xs) 0 var(--_sizing---space-s);
  list-style: none;
}

.contact-item {
	grid-column-gap: var(--_sizing---gutter);
	grid-template-columns: 8rem minmax(0, 1fr);
	display: grid;
}

.contact-label {
  color: var(--_theme---color-text);
}

.contact-link {
	color: var(--_theme---color-text-link);
	overflow-wrap: anywhere;
}

.contact-link:hover {
  color: var(--_theme---color-text);
}

.about-wrapper {
  grid-column-gap: var(--_sizing---section-gap);
  grid-row-gap: var(--_sizing---section-gap);
  flex-flow: column;
  display: flex;
}

.heading {
  margin-top: 0;
  margin-bottom: 0;
}

.bio-drawer {
  border-bottom: var(--_sizing---border) solid var(--_theme---color-border);
  width: 100%;
}

.bio-drawer-summary {
  width: 100%;
  color: var(--_theme---color-text-link);
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--_sizing---space-xs);
  padding-bottom: var(--_sizing---space-xs);
  display: flex;
}

.bio-drawer-summary:hover {
  color: var(--_theme---color-text);
}

.bio-drawer-body {
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: var(--_sizing---gutter);
  grid-template-rows: auto;
  grid-template-columns: 5rem 1fr;
  grid-auto-columns: 1fr;
  align-items: start;
  padding-top: var(--_sizing---space-xs);
  padding-bottom: var(--_sizing---space-s);
  display: grid;
}

.bio-updated {
  margin-top: var(--_sizing---space-s);
  margin-bottom: 0;
  font-weight: 400;
}

.div {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.headshot {
  width: 100%;
  margin-top: .5rem;
}

.about-contents {
  position: sticky;
  top: calc(7rem + 1.4em);
}

.project-page {
  padding: var(--_sizing---space-l) var(--_sizing---gutter);
  grid-column-gap: var(--_sizing---section-gap);
  grid-row-gap: var(--_sizing---section-gap);
  flex-flow: column;
  display: flex;
}

.project-hero-figure {
  grid-area: 1 / 2 / 2 / 3;
  justify-self: stretch;
  margin: 0;
}

.project-hero-picture {
  display: block;
}


.project-hero {
  width: 100%;
  height: auto;
  display: block;
}

/* Project header: the same caption as the Home tiles (.tile-caption: title, credit, Listen, year on the right,
   line below), plus the categories on a fourth line. On desktop it sits in the left half, level with the top of
   the hero image. */
.project-meta {
  grid-template-columns: 1fr auto;
  margin-top: 0;
  margin-right: var(--_sizing---gutter);
  align-self: start;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Left column: title, then "with …" (when there is one), then Listen, each straight after the last,
   so a project without a collaborator has no empty line above Listen */
.project-meta .tile-title,
.project-meta .tile-credit,
.project-meta .tile-action {
  grid-row: auto;
  grid-column: 1 / 2;
}

/* Right column: the year, with the categories under it, both right aligned */
.project-meta .tile-year {
  grid-area: 1 / 2 / 2 / 3;
}

.tile-caption .project-categories {
  grid-area: 2 / 2 / 3 / 3;
  justify-self: end;
  text-align: right;
}

/* Project sections follow the About page: heading with the line under it (.cv-heading), then the text */
.project-section {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 50%;
}

.project-section-content {
  padding-top: var(--_sizing---space-xs);
  padding-bottom: var(--_sizing---space-s);
}

/* Project gallery (the project's Gallery field, in its order): the first image full width, the rest in
   two columns with each pair lined up along the bottom; an odd last image sits on its own on the left. */
.gallery {
  grid-column-gap: var(--_sizing---gutter);
  grid-row-gap: var(--_sizing---gutter);
  grid-template-columns: 1fr 1fr;
  place-items: end stretch;
  display: grid;
}

.gallery-item {
  min-width: 0;
  display: block;
}

.gallery-item:first-child {
  grid-column: 1 / -1;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
}

/* One credits line under the gallery, e.g. "Photography: Sanna Dolck Wall" */
.gallery-credits {
  margin: 0;
  padding-top: var(--_sizing---space-xs);
  color: var(--_theme---color-text);
  font-size: var(--_sizing---type-base);
  line-height: 1.4;
}

.project-gallery {
  flex-flow: column;
  display: flex;
}

/* Home grid columns by screen width: 5 from 1920px, 4 from 1440px, 3 on laptops (base),
   2 on Tablet (991), 1 from Mobile landscape (767) down */
@media screen and (min-width: 1440px) {
  .project-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1920px) {
  .project-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}

.sections {
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 991px) {
  .project-wrapper {
    grid-column-gap: var(--_sizing---gutter);
    grid-row-gap: var(--_sizing---gutter);
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-bio {
    position: static;
  }

  .about-contents {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Phones: Conor Foran and the menu button; everything else in a full-width panel below the bar */
  .nav {
    grid-template-rows: auto;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-menu-button {
    display: flex;
  }

  /* The panel sits in the bar's second row and pushes the page down, so filtered results stay in view below it */
  .nav-menu {
    display: none;
    grid-column: 1 / -1;
    margin: var(--_sizing---space-xs) calc(-1 * var(--_sizing---gutter)) calc(-1 * var(--_sizing---space-xs));
    padding-right: var(--_sizing---gutter);
    padding-left: var(--_sizing---gutter);
    border-top: var(--_sizing---border) solid var(--_theme---color-border);
  }

  .nav.is-menu-open .nav-menu {
    display: block;
    animation: nav-menu-in 0.2s ease-out;
  }

  /* Panel rows, with a line between each, like the lists on About */
  .nav-tagline,
  .nav-right,
  .nav-contact {
    padding-top: var(--_sizing---space-xs);
    padding-bottom: var(--_sizing---space-xs);
  }

  .nav-right,
  .nav-contact {
    border-top: var(--_sizing---border) solid var(--_theme---color-border);
  }

  .nav-right {
    justify-content: flex-start;
    align-items: center;
  }

  .nav-contact {
    grid-column-gap: 1rem;
    grid-row-gap: var(--_sizing---space-xxs);
    flex-wrap: wrap;
    display: flex;
  }

  .theme-toggle {
    min-width: 24px;
    min-height: 24px;
  }

  /* List rows on phones (About CV and Home's List view): one stacked column
     (what / title, who / collaborator, where / Listen, categories), the year on the right across the whole row */
  .tile-row,
  .tile-row.is-cv {
    grid-template-columns: 1fr 4.5em;
    grid-template-rows: auto auto auto auto;
    grid-row-gap: 0;
  }

  .row-title,
  .row-link {
    grid-area: 1 / 1 / 2 / 2;
  }

  .row-who,
  .row-credit {
    grid-area: 2 / 1 / 3 / 2;
  }

  .row-location,
  .row-action {
    grid-area: 3 / 1 / 4 / 2;
  }

  .row-categories {
    grid-area: 4 / 1 / 5 / 2;
  }

  .cv-years,
  .row-year {
    grid-area: 1 / 2 / 5 / 3;
  }

  /* Home List header: Project on the left, Year on the right, the other labels hidden */
  .index-header {
    grid-template-columns: 1fr 4.5em;
  }

  .index-label {
    display: none;
  }

  /* No header labels on phones, so the rows spell out Listen / Pause again */
  .row-listen-label {
    display: block;
  }

  .sort-link {
    grid-area: 1 / 1 / 2 / 2;
  }

  .sort-link.is-year {
    grid-area: 1 / 2 / 2 / 3;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .nav.is-menu-open .nav-menu {
    animation: none;
  }
}

#w-node-_61a11720-12c6-6e11-51b5-24a7589e27d4-8c6ca203 {
  grid-area: span 1 / span 4 / span 1 / span 4;
}

#w-node-b5bf3172-e1ea-c3c4-7a76-f29457f97c5b-57f97c55 {
  justify-self: center;
}

#w-node-b5bf3172-e1ea-c3c4-7a76-f29457f97c5f-57f97c55 {
  justify-self: end;
}

#w-node-_2cddf9f9-1d44-1983-a953-6639b71d7cd2-1a3a3c7f {
  justify-self: center;
}

#w-node-_4df4df55-ef5c-03df-b3dd-53d31a3a3c83-1a3a3c7f, #w-node-b3e499f8-4d1d-9bc8-3b16-a76065eaf83c-1a3a3c7f {
  justify-self: end;
}

#w-node-a8405a07-1639-acb7-7265-29a4b3be57ec-e2c9be39 {
  justify-self: start;
}

#w-node-dc246d34-6527-6d17-e57b-f7ef4feac8eb-601f25f1 {
  align-self: start;
}

#w-node-_918c6909-1a2a-e382-29e0-17ddc3ede7a4-601f25f1, #w-node-d43f7356-89eb-a96e-3717-e74f00bf8baf-601f25f1 {
  grid-area: 1 / 1 / 2 / 3;
}

#w-node-c393ec2a-6b99-32fe-c81e-d57b8230e4f6-108a78c3 {
  justify-self: end;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

#w-node-fa7a9e2a-793e-d236-3f78-9ac7c33756c6-c33756b6 {
  grid-area: span 1 / span 2 / span 1 / span 2;
}

/* Project header: left half, top row (beside the hero image) */
/* Project page header (title, credit, Listen, year, categories): under the hero, the same width */
#w-node-_107be948-292d-7f3d-e820-f38a262e3d25-262e3d23 {
  grid-area: 2 / 2 / 3 / 3;
  justify-self: stretch;
  margin-right: 0;
}

/* From Tablet down the header sits under the image, full width (after the rule above so it wins) */
@media (max-width: 991px) {
  #w-node-_107be948-292d-7f3d-e820-f38a262e3d25-262e3d23 {
    width: 100%;
    margin-right: 0;
  }
}

@media screen and (min-width: 1920px) {
  #w-node-_61a11720-12c6-6e11-51b5-24a7589e27d4-8c6ca203 {
    grid-area: span 1 / span 4 / span 1 / span 4;
  }
}

@media (max-width: 991px) {
  #w-node-_61a11720-12c6-6e11-51b5-24a7589e27d4-8c6ca203 {
    grid-column: span 2 / span 2;
  }

  .project-page {
  	display: flex;
  	gap: var(--_sizing---space-s);
  }

  .tile.is-project {
  	grid-template-columns: 1fr;
  	display: flex;
  	flex-direction: column;
  	flex-wrap: nowrap;
  }

  .project-hero-figure {
  	grid-column: 2;
  }

  .sections {
  	width: 100%;
  	justify-content: flex-start;
  }

  /* Project pages: one column from Tablet down */
  .project-section {
    width: 100%;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    gap: var(--_sizing---gutter);
  }


  .project-section-content {
  	padding-block-end: var(--_sizing---space-xs);
  }

  .rich-text {
  	margin-block-end: 0rem;
  }

  .w-richtext {
  	margin-block-end: 0rem;
  }

  .footer {
  	display: flex;
  	flex-direction: column;
  	flex-wrap: nowrap;
  }

  /* Stacked footer: copyright, then contact links, then credits, all left aligned */
  .footer-contact {
    justify-content: flex-start;
  }

  .footer-group {
    display: block;
  }

  .footer-credits {
    text-align: left;
  }
}

@media (max-width: 767px) {
  #w-node-b5bf3172-e1ea-c3c4-7a76-f29457f97c5b-57f97c55, #w-node-b5bf3172-e1ea-c3c4-7a76-f29457f97c5f-57f97c55 {
    justify-self: start;
  }

  .footer {
  	display: flex;
  	flex-direction: column;
  	flex-wrap: nowrap;
  }

  .project-wrapper {
  	grid-template-columns: 1fr;
  }
}

  

  /* Letters that stammer when their link is hovered:
     .stam-r repeats, .stam-p prolongs (name-c / name-f kept for the name) */
  .stam-r, .name-c { font-family: var(--font-dysfluent-sans-repeated); font-variation-settings: "REPT" 0; }
  .stam-p, .name-f { font-family: var(--font-dysfluent-sans-prolonged); font-variation-settings: "PRLG" 10; }
  .stam-r, .stam-p, .name-c, .name-f { transition: font-variation-settings 0.6s ease; }

  @media (hover: hover) {
    a:hover .stam-r, a:hover .name-c { font-variation-settings: "REPT" 600; }
    a:hover .stam-p, a:hover .name-f { font-variation-settings: "PRLG" 1250; }
  }
  a:focus-visible .stam-r, a:focus-visible .name-c { font-variation-settings: "REPT" 600; }
  a:focus-visible .stam-p, a:focus-visible .name-f { font-variation-settings: "PRLG" 1250; }

  /* The active filter word (Artist, designer, educator) holds its fullest stammer, on every screen size */
  .nav-filter.is-active .stam-r { font-variation-settings: "REPT" 600; }
  .nav-filter.is-active .stam-p { font-variation-settings: "PRLG" 1250; }

  @media (prefers-reduced-motion: reduce) {
    .stam-r, .stam-p, .name-c, .name-f { transition: none; }
  }

/* About: rows outside the chosen filter fade, dividers stay solid */
  .tile-row.is-cv.is-filtered-out > * {
    opacity: 0.2;
    transition: opacity 0.2s;
  }
  .tile-row.is-cv.is-filtered-out:hover > *,
  .tile-row.is-cv.is-filtered-out:focus-within > * { opacity: 1; }

  /* Active filter word in the nav */
  .nav-tagline a.is-active { color: var(--_theme---color-text); }

  /* Text only screen readers hear */
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

    /* Bio drawers */
  .bio-drawer-summary { list-style: none; }
  .bio-drawer-summary::-webkit-details-marker { display: none; }
  .bio-drawer:not([open]) .bio-chevron { transform: rotate(180deg); }
  .bio-chevron { transition: transform 0.2s; }
  .bio-drawer-summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

    /* Contents list */
    /* Contents list: links use the site's All Links style */
  .contents-list ul { list-style: none; margin: 0; padding: 0; }
  .contents-list a {
    display: block;
    padding: 0.15em 0;
    transition: padding-left 0.2s, color 0.2s;
  }
  .contents-list a.is-active {
    padding-left: 1.5em;
    color: var(--_theme---color-text);
  }
  @media (prefers-reduced-motion: reduce) { .contents-list a { transition: none; } }

/* ---------- Tiles view (default): hide the list rows and list header ---------- */
  .tile-row:not(.is-cv) { display: none !important; } /* About CV rows are not project rows */
  .index-header { display: none !important; }

  /* ---------- List view: one full-width list ---------- */
  .project-wrapper.is-index { display: block !important; width: 100%; max-width: none; }
  .project-wrapper.is-index .tile { width: 100%; max-width: none; }
  .project-wrapper.is-index .tile-card { display: none !important; }
  .project-wrapper.is-index .tile-row { display: grid !important; }
  .project-wrapper.is-index .index-header { display: grid !important; }

  /* ---------- Tiles view: images share a baseline, captions hang below ---------- */
  .project-wrapper:not(.is-index) .tile,
  .project-wrapper:not(.is-index) .tile-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }
  .project-wrapper:not(.is-index) .tile-media { align-self: end; }

  /* ---------- Even line lengths, no lone last words ---------- */
  .tile-title, .tile-credit, .row-title, .row-credit { text-wrap: pretty; }

  /* ---------- Sort headings ---------- */
  .sort-link { color: inherit; text-decoration: none; padding: 0; background-color: transparent; text-align: left; cursor: pointer; }

  /* ---------- Active states: current view, sort and filter ---------- */
  .nav-link.is-active,
  .sort-link.is-active,
  .nav-tagline a.is-active { color: var(--_theme---color-text); }
  /* The arrow is for the eye; screen readers hear the button's own "sorted …" text instead */
  .sort-link.is-active[data-dir="asc"]::after { content: " ↑"; content: " ↑" / ""; }
  .sort-link.is-active[data-dir="desc"]::after { content: " ↓"; content: " ↓" / ""; }

  /* ---------- Filtering: projects outside the filter are dimmed, in Grid and List ----------
     Hovering or tabbing to a dimmed project brings it back to full strength. */
  .project-wrapper:not(.is-index) .tile.is-filtered-out .tile-card,
  .project-wrapper.is-index .tile.is-filtered-out .tile-row > * {
    opacity: 0.2;
    transition: opacity 0.2s;
  }
  .project-wrapper:not(.is-index) .tile.is-filtered-out:hover .tile-card,
  .project-wrapper:not(.is-index) .tile.is-filtered-out:focus-within .tile-card,
  .project-wrapper.is-index .tile.is-filtered-out:hover .tile-row > *,
  .project-wrapper.is-index .tile.is-filtered-out:focus-within .tile-row > * { opacity: 1; }

  /* ---------- Text only screen readers hear ---------- */
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
    /* Stammered letters never change the height of their line */
  .ls-f-R, .ls-f-P, .ls-f-B { line-height: 0; }

/* ---------- Keyboard and screen reader access ---------- */
/* Anything that scrolls into view (a focused link, a jump to a section) stops below the sticky nav */
html {
  scroll-padding-top: 4rem;
}

/* "Skip to content": the first thing the Tab key reaches on every page, shown only while focused */
.skip-link {
  position: absolute;
  top: var(--_sizing---space-xs);
  left: var(--_sizing---gutter);
  z-index: 20;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  color: var(--_theme---color-text);
  background-color: var(--_theme---color-bg);
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--_sizing---space-xxs) var(--_sizing---space-xs);
  overflow: visible;
  clip: auto;
  border: var(--_sizing---border) solid var(--_theme---color-border);
}

/* The page content takes focus from "Skip to content"; it is not a control, so no focus ring */
.site-main:focus {
  outline: none;
}

/* 404 page */
.page-404 {
  min-height: 60vh;
  padding: var(--_sizing---space-l) var(--_sizing---gutter);
}

.page-404-code,
.page-404-title,
.page-404-message {
  margin: 0;
  font-size: var(--_sizing---type-base);
  line-height: var(--_sizing---line-spacing-base);
  font-weight: 400;
}

.page-404-link {
  display: inline-block;
  margin-top: var(--_sizing---space-s);
}

/* ---------- Page transitions ----------
   Pages change at once; a project tile's image grows into the project page's hero (and back on Back).
   Browsers without page transitions (Firefox for now) change page as before; "Reduce motion" turns them off. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* The shared name: the hero here, and on Home the clicked tile's image (given by the page's script) */
.project-hero {
  view-transition-name: project-image;
}

/* The nav stays put while the page under it changes */
.nav {
  view-transition-name: site-nav;
}

::view-transition-group(project-image) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

/* No cross-fade: the page and the nav change at once; only the image moves */
::view-transition-old(root),
::view-transition-new(root),
::view-transition-old(site-nav),
::view-transition-new(site-nav) {
  animation: none;
}



.rich-text {
  font-size: var(--text-regular-size);
  line-height: var(--text-medium-leading);
  color: var(--_theme---color-text);
}

.rich-text > * + * {
  margin-top: 1em;
}

.rich-text h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-leading);
  letter-spacing: var(--text-h1-tracking);
  font-weight: 700;
  margin: 0 0 0.5em;
}

.rich-text h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-leading);
  letter-spacing: var(--text-h2-tracking);
  font-weight: 700;
  margin: 1.5em 0 0.5em;
}

.rich-text h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-leading);
  letter-spacing: var(--text-h3-tracking);
  font-weight: 700;
  margin: 1.25em 0 0.5em;
}

.rich-text h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-leading);
  letter-spacing: var(--text-h4-tracking);
  font-weight: 600;
  margin: 1em 0 0.5em;
}

.rich-text h5 {
  font-size: var(--text-h5-size);
  line-height: var(--text-h5-leading);
  letter-spacing: var(--text-h5-tracking);
  font-weight: 600;
  margin: 1em 0 0.5em;
}

.rich-text h6 {
  font-size: var(--text-h6-size);
  line-height: var(--text-h6-leading);
  letter-spacing: var(--text-h6-tracking);
  font-weight: 600;
  margin: 1em 0 0.5em;
}

.rich-text p {
  margin: 0 0 1em;
  font-size: var(--text-regular-size);
  line-height: var(--text-medium-leading);
}

.rich-text a {
  color: var(--_theme---color-text-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-line: none;
}

/* Hover: the text colour, like every other link on the site (white in dark mode) */
.rich-text a:hover {
  color: var(--_theme---color-text);
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 1em;
  padding-inline-start: 1.5em;
  font-size: var(--text-regular-size);
  line-height: var(--text-regular-leading);
}

.rich-text li {
  margin: 0.25em 0;
}

.rich-text blockquote {
  margin: 1em 0;
  padding-inline-start: 1em;
  border-inline-start: 3px solid var(--_theme---color-border);
  color: var(--_theme---color-text);
  font-size: var(--text-medium-size);
}

.rich-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
  border-radius: var(--corner-radius);
}

.rich-text figure {
  margin: 1em 0;
}

.rich-text figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  color: var(--_theme---color-text);
  margin-top: 0.5em;
}

.rich-text pre {
  margin: 1em 0;
  padding: 1em;
  overflow-x: auto;
  background: var(--_theme---color-bg-grey);
  border: 1px solid var(--_theme---color-border);
  border-radius: var(--corner-radius);
  font-size: var(--text-small-size);
}

.rich-text code {
  font-size: 0.9em;
  background: var(--_theme---color-bg-grey);
  padding: 0.15em 0.35em;
  border-radius: var(--corner-radius);
}

.rich-text pre code {
  background: none;
  padding: 0;
}

.rich-text hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--_theme---color-border);
}

.rich-text strong {
  font-weight: 700;
}

.rich-text em {
  font-style: italic;
}

.rich-text table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--_theme---color-border);
  border-radius: var(--corner-radius);
  overflow: hidden;
  font-size: var(--text-regular-size);
  line-height: var(--text-regular-leading);
}

.rich-text thead {
  background-color: var(--_theme---color-text);
  color: var(--_theme---color-bg);
}

.rich-text th,
.rich-text td {
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--_theme---color-border);
  border-bottom: 1px solid var(--_theme---color-border);
  text-align: left;
  vertical-align: top;
}

.rich-text th {
  border-bottom: 1px solid var(--_theme---color-border);
  font-weight: 600;
  font-size: var(--text-regular-size);
  background-color: var(--_theme---color-text);
  color: var(--_theme---color-bg);
}

.rich-text th:last-child,
.rich-text td:last-child {
  border-right: none;
}

.rich-text tbody tr:last-child td {
  border-bottom: none;
}

.rich-text tbody tr:nth-child(even) {
  background-color: var(--_theme---color-bg-grey);
}
:where(picture:not([class]):not([style])){display:contents}
