/* GENERATED: edit site/templates/design.css instead. */
/* DESIGN GUIDE
   One design: gallery layout with Offbeat colours and typography.
   Shared page styles come first, followed by layout and mobile rules.
   Colours: edit the --paper, --ink, --muted, --line and --accent variables.
   Search for the section names below to find the part you want to adjust.
*/

@font-face {
  font-family: LocalSerif;
  src: local("Baskerville");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* BASE COLOURS AND TYPE */
body {
  --paper: #f5f2e9;
  --ink: #161816;
  --muted: #676b62;
  --line: #c9c8bf;
  --accent: #ff86c0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #b82569;
  outline-offset: 6px;
}
button {
  background: none;
  border: 0;
}
a:hover {
  color: #b82569;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.quiet {
  color: var(--muted);
}

/* HEADER AND NAVIGATION */
header {
  margin: 0 5%;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 30px;
  letter-spacing: -1px;
}
.name-dot {
  display: inline-block;
  margin-left: 0;
  position: relative;
  top: -0.3em;
  width: 1em;
  height: 1em;
  flex: none;
  line-height: 0;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  color: #ec4591;
  font-size: 24px;
}
.wordmark:hover .name-dot,
.wordmark:focus-visible .name-dot {
  transform: rotate(65deg);
  color: #ec4591;
}
nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
nav a {
  position: relative;
  padding: 10px 0;
}
nav a:hover,
nav a[aria-current="page"] {
  box-shadow: inset 0 -9px var(--accent);
  color: var(--ink);
}
main {
  min-height: calc(100vh - 230px);
}
/* LANDING PAGE */
.hero {
  position: relative;
  margin: 0 8%;
  min-height: 640px;
  height: calc(100vh - 245px);
  max-height: 860px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 6%;
}
.hero-copy {
  z-index: 2;
  padding: 50px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  line-height: 1.7;
}
.hero h1 {
  font-family: LocalSerif, Baskerville, Georgia, serif;
  font-weight: 400;
  font-size: clamp(62px, 7.7vw, 118px);
  line-height: 0.94;
  letter-spacing: -4px;
  margin: 30px 0;
}
.hero h1 em {
  font-weight: 400;
  position: relative;
  white-space: nowrap;
}
.hero h1 em:after {
  content: "";
  height: 8px;
  width: 77%;
  background: var(--accent);
  position: absolute;
  bottom: 6px;
  left: 0;
  z-index: -1;
  transform: rotate(-3deg);
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  max-width: 310px;
  color: var(--muted);
  margin-top: 26px;
}
.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  padding: 0 0 9px;
  border-bottom: 1px solid;
}
.text-link span {
  margin-left: 40px;
}
.portrait-area {
  position: relative;
  padding: 30px 0;
}
.portrait-frame {
  position: relative;
  margin: 0;
  transform: rotate(3deg);
  padding: 12px;
  background: #fff;
  box-shadow: 0 2px 20px #24272112;
}
.portrait-frame:before {
  content: "";
  position: absolute;
  inset: 14px -15px -14px 15px;
  border: 1px solid #788765;
  z-index: -1;
  transform: rotate(-7deg);
}
.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.motion-button {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}
.scribble {
  position: absolute;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  right: -20px;
  bottom: -22px;
  transform: rotate(-7deg);
}
.asterisk {
  position: absolute;
  left: -37px;
  top: 6px;
  font-size: 100px;
  font-family: Georgia, serif;
  line-height: 1;
  color: #ec4591;
  z-index: 2;
}
.press-slip {
  position: absolute;
  background: #d6fa5b;
  max-width: 205px;
  bottom: 85px;
  left: -58px;
  padding: 19px 22px;
  transform: rotate(-9deg);
  z-index: 3;
  box-shadow: 2px 4px 0 #00000009;
}
.press-slip p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.press-slip small {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.home-strip {
  margin: 0 5%;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 22px 0;
  gap: 22px;
  font-size: 12px;
  align-items: center;
}
.home-strip .featured {
  font-family: Georgia, serif;
  font-size: 21px;
}
.home-strip > a:last-child {
  text-align: right;
}
/* FOOTER */
footer {
  margin: 40px 5% 0;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-size: 10px;
}
.footer-aside {
  font-style: italic;
}
/* SHARED INNER-PAGE STYLES */
.page {
  padding: 55px 8% 70px;
}
.page h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -2px;
  margin: 16px 0 32px;
}
.intro {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.5;
  max-width: 620px;
}
.page-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.page-heading h1 {
  margin-bottom: 0;
}
/* BIOGRAPHY */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.bio-photo {
  margin: 0;
}
.bio-photo img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  display: block;
  background: #12100e;
}
.bio-photo figcaption {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.bio-text p {
  line-height: 1.9;
}
.bio-text .intro {
  line-height: 1.4;
  font-size: 30px;
}
.photo-choice {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
.photo-choice button {
  font-size: 11px;
  padding: 9px 12px;
  border: 1px solid var(--line);
}
.photo-choice button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--ink);
}
/* WORKS CATALOGUE AND RECORDINGS */
.work-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 55px;
}
.filters {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
}
.filters button {
  text-align: left;
  padding: 8px 10px;
  font-size: 12px;
}
.filters button[aria-pressed="true"] {
  background: var(--accent);
}
.work-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.work-row:first-child {
  border-top: 1px solid var(--line);
}
button.work-row:hover {
  background: #ff86c02b;
  padding-left: 10px;
}
.work-year,
.work-media {
  font-size: 11px;
  color: var(--muted);
}
.work-media {
  text-align: right;
}
.work-name {
  font-family: Georgia, serif;
  font-size: 24px;
}
.work-subtitle {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.5;
}
.work-detail {
  max-width: 850px;
  margin: auto;
}
.work-detail h1 {
  margin-top: 35px;
}
.work-description {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.8;
  margin: 35px 0;
}
.work-detail video {
  max-height: 560px;
  width: 100%;
  background: #111;
}
.work-detail audio {
  width: 100%;
}
.work-detail .credit {
  font-size: 12px;
  line-height: 1.7;
}
.purchase {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.score-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0;
}
/* IMAGE WALL AND LIGHTBOX */
.wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wall-tile {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  margin: 0;
}
.wall button {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  text-align: left;
}
.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wall figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: var(--paper);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.wall figure:hover figcaption,
.wall figure:focus-within figcaption {
  opacity: 1;
}
.wall-placeholder {
  border: 1px dashed var(--line);
  background: #ff86c00a;
}
.wall-placeholder:nth-child(3n + 2) {
  background: #d6fa5b12;
}
.wall-placeholder span {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
#large-photo-caption {
  max-width: 70ch;
  margin: 14px 0 0;
}
dialog {
  border: 0;
  background: var(--paper);
  padding: 20px;
  max-width: 90vw;
  max-height: 94vh;
}
dialog::backdrop {
  background: #111c;
}
dialog img {
  display: block;
  max-width: 80vw;
  max-height: 78vh;
  object-fit: contain;
}
dialog button {
  display: block;
  margin-left: auto;
  padding: 8px;
}
/* MARGINALIA */
.notes-list {
  max-width: 850px;
}
.notes-list details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.notes-list summary {
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 28px;
}
.notes-list summary small {
  font-family: Arial, sans-serif;
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 12px 0;
}
.notes-list p {
  max-width: 650px;
  line-height: 1.9;
}
/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12%;
}
.email-link {
  font-family: Georgia, serif;
  font-size: clamp(19px, 2.5vw, 35px);
  border-bottom: 1px solid;
  display: inline-block;
  margin: 25px 0;
}
.contact-doodle {
  font-size: 120px;
  color: #d6fa5b;
  line-height: 1.2;
  transform: rotate(-12deg);
  margin: 30px 0;
}
.contact-form {
  padding-top: 15px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  margin: 0 0 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  margin: 0 0 25px;
  color: var(--ink);
}
.contact-form textarea {
  height: 130px;
  resize: vertical;
}
.submit {
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
}

/* CENTRED GALLERY LAYOUT */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 790px;
  height: auto;
  padding: 45px 0 35px;
}
.hero-copy {
  display: contents;
}
.hero .eyebrow {
  order: 0;
  margin: 0 0 25px;
}
.hero h1 {
  order: 2;
  font-size: 54px;
  letter-spacing: -2px;
  margin: 38px 0 10px;
  line-height: 1.1;
  text-align: center;
}
.hero h1 br {
  display: none;
}
.hero h1 em:after {
  height: 4px;
  bottom: 2px;
}
.portrait-area {
  order: 1;
  width: min(355px, 65vw);
  padding: 0;
}
.portrait-frame {
  transform: none;
  border: 1px solid #c9c8bf;
  padding: 22px;
  box-shadow: 8px 8px 0 #ff86c0;
}
.portrait-frame:before {
  display: none;
}
.hero-description {
  order: 3;
  text-align: center;
  max-width: 430px;
  margin: 8px 0;
  font-size: 13px;
}
.hero .text-link {
  order: 4;
  margin-top: 15px;
}
.press-slip {
  left: auto;
  right: -160px;
  bottom: 100px;
  background: transparent;
  box-shadow: none;
  max-width: 150px;
  padding: 0;
  transform: rotate(7deg);
}
.press-slip p {
  font-size: 16px;
}
.asterisk {
  font-size: 70px;
  left: -40px;
  top: -25px;
  color: #ec4591;
}
.scribble {
  font-size: 12px;
  bottom: -20px;
}
.name-dot {
  color: #ec4591;
}
/* LARGE SCREENS */
@media (min-width: 1550px) {
  .hero,
  .page {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero {
    padding: 0 40px;
  }
  .page {
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* MOBILE LAYOUTS */
@media (max-width: 800px) {
  header {
    height: auto;
    padding: 24px 0;
    gap: 20px;
    align-items: start;
    flex-direction: column;
  }
  .wordmark {
    font-size: 28px;
  }
  nav {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .hero {
    height: auto;
    max-height: none;
    min-height: 0;
    gap: 10px;
    grid-template-columns: 1fr;
    padding-bottom: 65px;
  }
  .hero-copy {
    padding: 35px 0 15px;
  }
  .hero h1 {
    font-size: clamp(64px, 13vw, 96px);
    letter-spacing: -3px;
    margin: 22px 0;
  }
  .hero-description {
    max-width: 360px;
  }
  .portrait-area {
    width: 80%;
    margin: 15px auto 0;
    max-width: 420px;
  }
  .press-slip {
    left: -30px;
    bottom: 55px;
    max-width: 160px;
    padding: 14px;
  }
  .press-slip p {
    font-size: 16px;
  }
  .asterisk {
    font-size: 80px;
  }
  .home-strip {
    grid-template-columns: 1fr 2fr;
  }
  .home-strip > a:last-child {
    display: none;
  }
  .home-strip .featured {
    font-size: 17px;
  }
  footer {
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .footer-aside {
    display: none;
  }
  .page {
    padding: 35px 6% 40px;
  }
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bio-photo {
    max-width: 450px;
  }
  .bio-text .intro {
    font-size: 26px;
  }
  .work-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
  }
  .filters button {
    font-size: 11px;
  }
  .work-row {
    grid-template-columns: 43px 1fr 45px;
    gap: 10px;
  }
  .work-name {
    font-size: 20px;
  }
  .work-media {
    font-size: 9px;
  }
  .page-heading {
    display: block;
  }
  .page-heading .page-note {
    margin-top: 20px;
  }
  .wall {
    gap: 9px;
  }
  .wall-placeholder span {
    bottom: 8px;
    left: 8px;
    font-size: 9px;
  }
  .wall figcaption {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-top: 35px;
  }
  .portrait-area {
    width: min(320px, 65vw);
    margin: 0;
  }
  .press-slip {
    right: -35px;
    bottom: 10px;
    background: #d6fa5b;
    padding: 10px;
    max-width: 130px;
  }
  .press-slip p {
    font-size: 14px;
  }
  .hero-description {
    max-width: 290px;
  }
  .contact-doodle {
    display: none;
  }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

a.work-row:hover {
  background: #ff86c02b;
}
.bio-photo img {
  height: auto;
}
.work-description code {
  font-size: 0.8em;
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .hero h1 em {
    white-space: normal;
  }
}

/* TALL JOHNNY PORTRAIT
   Frame width and aspect ratio control the tall, narrow crop.
   Scale controls the zoom; object-fit preserves the photograph's proportions.
   The negative top margin carries the frame across the header rule.
*/
.hero--johnny {
  padding-top: 0;
  min-height: 0;
  max-height: none;
  justify-content: flex-start;
}
.hero--johnny .portrait-area {
  order: 0;
  width: min(280px, 66vw);
  margin-top: -26px;
  z-index: 1;
}
.hero--johnny .portrait-frame {
  padding: 18px;
}
.hero--johnny .portrait-window {
  aspect-ratio: 4 / 9;
  overflow: hidden;
}
.hero--johnny .portrait--johnny {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.08);
}
.hero--johnny .hero-copy > .eyebrow {
  order: 1;
  margin: 42px 0 0;
}
.hero--johnny h1 {
  margin: 60px 0 10px;
}
@media (max-width: 800px) {
  .hero--johnny .portrait-area {
    margin-top: -14px;
  }
}

/* OFFBEAT TYPE AND COLOUR
   Retain the gallery's heading sizes, centred layout and narrow portrait.
   Bold sans-serif headings contrast with the italic serif headline words.
*/
.wordmark {
  font-weight: 800;
}
.hero h1 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: lowercase;
}
.page h1 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -4px;
}
.press-slip {
  background: #d6fa5b;
}

/* Keyboard shortcut to bypass the navigation. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  z-index: 20;
}
.skip-link:focus {
  transform: none;
}

/* Keep decorative asterisks consistent across fonts and mobile browsers. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.name-dot svg,
.asterisk svg {
  display: block;
  width: 1em;
  height: 1em;
}
.asterisk {
  pointer-events: none;
}
/* Optional animation controls sit outside the frame so its padding stays even. */
.portrait-motion {
  position: absolute;
  left: 0;
  bottom: -24px;
}
@media (prefers-reduced-motion: reduce) {
  .name-dot {
    transition: none;
  }
}
