/* Colours and font families */

:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --ink: #373c35;
  --muted: #65685c;
  --wine: #703a46;
  --rule: #d8d6c8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --hand: "Caveat", cursive;
}

/* Base layout and paper texture */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

/* Links, keyboard focus, and text selection */

a {
  color: var(--wine);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 6px;
  border-radius: 1px;
}

::selection {
  color: #44272c;
  background: #e9d1cb;
}

/* Element resets */

figure, p, h1, h2, h3 {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

/* Content width and skip navigation */

.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  left: 20px;
  top: -100px;
  padding: 8px 16px;
  background: white;
}

.skip-link:focus {
  top: 12px;
}

/* Header and project wordmark */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 27px 23px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--wine);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
}

.shop-mark {
  width: 43px;
  height: 43px;
}

.wordmark > span {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.7px;
}

.wordmark > span > span {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* Main navigation */

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 5px;
}

nav .instagram-nav {
  color: var(--wine);
}

nav a span {
  margin-left: 6px;
}

/* Hero introduction and typography */

.hero {
  padding-block: 48px 44px;
  overflow: clip;
}

.hero-intro {
  text-align: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  line-height: 1.8;
}

.hero .eyebrow span {
  padding-inline: 9px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin-block: 20px 19px;
  color: var(--wine);
  font-size: clamp(64px, 6.9vw, 96px);
  line-height: .91;
  letter-spacing: -3px;
}

h1 em, h2 em {
  font-weight: 400;
}

.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Watercolour collage, paper cards, and tape */

.collage {
  position: relative;
  isolation: isolate;
  margin-top: 45px;
}

.collage::before {
  content: "";
  position: absolute;
  inset: 10% -3% 15%;
  z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, #dde1d288, transparent 65%), radial-gradient(ellipse at 80% 45%, #ead9ce77, transparent 65%);
  filter: blur(18px);
}

.paintings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 21px;
  padding: 16px 10px 20px;
}

.painting {
  position: relative;
  padding: 9px 9px 4px;
  background: #fffdf7;
  box-shadow: 1px 3px 9px #40352b1a, 0 1px 2px #40352b12;
  transform: rotate(var(--turn, -3deg));
  transition: transform .25s ease, box-shadow .25s ease;
}

.painting::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 35%;
  z-index: 1;
  width: 31%;
  height: 23px;
  background: #d8c8a78c;
  transform: rotate(-5deg);
  clip-path: polygon(0 4%, 95% 0, 100% 93%, 3% 100%);
}

.painting:nth-child(2) {
  --turn: 2deg;
  top: -8px;
}

.painting:nth-child(3) {
  --turn: -2deg;
  top: 5px;
}

.painting:nth-child(4) {
  --turn: 4deg;
  top: -4px;
}

.painting:nth-child(5) {
  --turn: 2deg;
}

.painting:nth-child(6) {
  --turn: -3deg;
  top: 8px;
}

.painting:nth-child(7) {
  --turn: 3deg;
}

.painting:nth-child(8) {
  --turn: -2deg;
  top: 5px;
}

.painting:nth-child(3n)::before {
  background: #c6cdbb99;
}

.painting:nth-child(4n)::before {
  background: #dcc4bf99;
}

.painting img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.painting figcaption {
  padding-block: 3px 1px;
  color: #5d6256;
  font-family: var(--hand);
  font-size: clamp(16px, 1.65vw, 23px);
  line-height: 1.4;
  text-align: center;
}

/* Collage hover effect for devices with a pointer */

@media (hover: hover) {

.painting:hover {
  z-index: 2;
  transform: rotate(0) scale(1.035);
  box-shadow: 1px 8px 18px #40352b24;
}

}

/* Collage caption and project link */

.collage-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.collage-caption span {
  margin-right: 9px;
  color: var(--wine);
  font-family: var(--hand);
  font-size: 21px;
}

.down-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin: 26px auto 0;
  color: var(--ink);
  font-size: 11px;
  text-decoration: none;
}

.down-link span {
  color: var(--wine);
  font-size: 20px;
}

/* Project introduction */

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 66px 60px;
  border-top: 1px solid var(--rule);
}

.project-heading .eyebrow {
  margin-bottom: 19px;
}

h2 {
  color: var(--wine);
  font-size: 49px;
  line-height: 1.06;
  letter-spacing: -1px;
}

.handwritten {
  color: var(--wine);
  font-family: var(--hand);
  font-size: 26px;
  line-height: 1.3;
}

.project-heading .handwritten {
  margin-top: 25px;
  transform: rotate(-3deg);
}

.project-copy {
  padding-top: 3px;
}

.project-copy p + p {
  margin-top: 18px;
}

.lead {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
}

.project-copy > p:not(.lead) {
  color: var(--muted);
  font-size: 13px;
}

.project-copy .work-in-progress {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 11px !important;
}

.status-dot {
  display: inline-block;
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d8061;
}

/* Recording categories */

.recording {
  padding-block: 26px 49px;
  border-block: 1px solid var(--rule);
}

.section-label {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.section-label h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.section-label > span {
  color: var(--muted);
  font-family: var(--hand);
  font-size: 21px;
}

.recording-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.recording-list li {
  padding: 0 35px;
  border-left: 1px solid var(--rule);
}

.recording-list li:first-child {
  padding-left: 0;
  border: 0;
}

.recording-list li:last-child {
  padding-right: 0;
}

.list-number {
  color: #9b786d;
  font-family: var(--hand);
  font-size: 23px;
}

.recording-list h3 {
  margin-block: 3px 9px;
  font-size: 29px;
  line-height: 1.1;
}

.recording-list p {
  max-width: 280px;
  color: var(--muted);
  font-size: 12px;
}

/* Contribution notice */

.noticeboard {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 58px;
  padding-block: 76px 83px;
}

.contribute-note {
  position: relative;
  padding: 37px 43px 38px;
  background: #eeeddf;
  box-shadow: 1px 3px 6px #40352b0a;
}

.contribute-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: var(--wine);
  border: 2px solid #935965;
  border-radius: 50%;
  box-shadow: 1px 3px 3px #40352b33;
}

.contribute-note .eyebrow {
  margin-bottom: 16px;
}

.contribute-note h2 {
  font-size: 45px;
}

.contribute-note > p:not(.eyebrow) {
  margin-block: 20px;
  color: #595f53;
  font-size: 13px;
}

.email-link {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.email-link span {
  display: inline-block;
  margin-left: 8px;
}

/* Instagram follow section */

.follow-note {
  padding: 25px 15px;
}

.follow-note .handwritten {
  margin-bottom: 19px;
  font-size: 24px;
  transform: rotate(-3deg);
}

.follow-note h2 {
  font-size: 42px;
}

.follow-note > p:not(.handwritten) {
  max-width: 300px;
  margin-block: 18px;
  color: var(--muted);
  font-size: 13px;
}

.follow-note a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.follow-note a span {
  margin-left: 2px;
}

.instagram-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 23px 28px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10px;
}

.site-footer > p:nth-child(2) {
  font-family: var(--hand);
  font-size: 19px;
  line-height: 1;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a span {
  margin-left: 10px;
}

/* Recent photographs from the database */

.recent-photographs {
  padding-block: 48px 55px;
  border-top: 1px solid var(--rule);
}

.archive-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.archive-section-heading .eyebrow {
  margin-bottom: 12px;
}

.archive-section-heading h2 {
  font-size: 46px;
}

.archive-section-heading .handwritten {
  padding-bottom: 6px;
  font-size: 25px;
  transform: rotate(-3deg);
}

.recent-intro {
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
}

.recent-photo-list {
  display: grid;
  gap: 25px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.recent-photo-card {
  display: grid;
  grid-template-columns: minmax(180px, 290px) 1fr;
  gap: 39px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.recent-photo-card:hover {
  text-decoration: none;
}

.recent-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
  border: 9px solid #fffdf7;
  box-shadow: 1px 3px 9px #40352b1a;
  transform: rotate(-1deg);
}

.recent-photo-copy time {
  color: var(--muted);
  font-size: 11px;
}

.recent-photo-copy h3 {
  margin-block: 5px 7px;
  color: var(--wine);
  font-size: 43px;
  line-height: 1.1;
}

.recent-photo-copy p {
  font-size: 13px;
}

.recent-photo-copy .recent-photo-state {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.recent-photo-link {
  display: inline-block;
  margin-top: 17px;
  color: var(--wine);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.recent-photo-link span {
  margin-left: 8px;
}

.recent-photo-card:hover .recent-photo-link {
  text-decoration-thickness: 2px;
}

/* Link from recent photographs to the complete archive */

.all-photos-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--wine);
  font-size: 13px;
  text-underline-offset: 5px;
}

/* Complete photographic archive */

.photo-archive-main {
  padding-block: 48px 70px;
}

.photo-archive-heading {
  max-width: 670px;
  margin-bottom: 38px;
}

.photo-archive-heading h1 {
  margin-block: 12px 18px;
  color: var(--wine);
  font-size: 76px;
}

.photo-archive-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.photo-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-archive-card {
  margin: 0;
}

.photo-archive-image {
  display: block;
}

.photo-archive-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border: 8px solid #fffdf7;
  background: #fffdf7;
  box-shadow: 1px 3px 9px #40352b1a;
}

.photo-archive-card figcaption {
  padding: 18px 3px 0;
}

.photo-archive-card time {
  color: var(--muted);
  font-size: 11px;
}

.photo-archive-subject {
  margin-top: 8px;
}

.photo-archive-subject + .photo-archive-subject {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.photo-archive-subject h2 {
  margin-bottom: 5px;
  color: var(--wine);
  font-size: 31px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.photo-archive-subject h2 a {
  text-decoration: none;
}

.photo-archive-subject h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.photo-archive-subject p {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.photo-archive-subject .photo-archive-state {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

/* Responsive archive columns */

@media (max-width: 900px) {

.photo-archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

}

@media (max-width: 600px) {

.photo-archive-main {
  padding-top: 32px;
}

.photo-archive-heading h1 {
  font-size: 56px;
}

.photo-archive-grid {
  grid-template-columns: minmax(0, 1fr);
}

}

/* Individual shopfront pages */

.shopfront-main {
  padding-block: 30px 65px;
}

.archive-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  text-decoration: none;
}

.shopfront-heading {
  margin-block: 33px 36px;
}

.shopfront-heading h1 {
  margin-block: 17px 18px;
  font-size: clamp(58px, 6vw, 83px);
  letter-spacing: -2px;
  overflow-wrap: anywhere;
}

.shopfront-address {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.4;
}

.shopfront-address span {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .6px;
}

.shopfront-category {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.shopfront-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.archive-photograph {
  padding: 12px 12px 7px;
  background: #fffdf7;
  box-shadow: 1px 3px 10px #40352b1a;
}

.archive-image-link {
  display: block;
}

.archive-photograph img {
  width: 100%;
  height: auto;
}

.archive-photograph figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 15px;
  padding-block: 11px 4px;
  color: var(--muted);
  font-size: 10px;
}

.archive-photograph figcaption a {
  white-space: nowrap;
}

.shopfront-story {
  padding-top: 8px;
}

.shopfront-story h2 {
  font-size: 35px;
  line-height: 1.13;
}

.shopfront-story .eyebrow {
  margin-bottom: 17px;
}

.archive-caption {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.archive-facts {
  margin: 22px 0 0;
}

.archive-facts > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 15px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}

.archive-facts dt {
  color: var(--muted);
}

.archive-facts dd {
  margin: 0;
}

.archive-date-note {
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* Dated evidence and source links */

.archive-history {
  margin-top: 34px;
}

.archive-timeline {
  margin: 23px 0 0;
  padding: 0 0 0 19px;
  border-left: 1px solid var(--rule);
  list-style: none;
}

.archive-timeline li {
  position: relative;
}

.archive-timeline li + li {
  margin-top: 26px;
}

.archive-timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -23px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--wine);
}

.archive-timeline time {
  color: var(--wine);
  font-size: 12px;
  font-weight: 500;
}

.archive-evidence-label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.archive-timeline h3 {
  margin-block: 6px;
  font-size: 25px;
  line-height: 1.2;
}

.archive-timeline p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.archive-timeline a {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
}

.archive-sources {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--rule);
}

.archive-sources h2 {
  font-size: 28px;
}

.archive-sources ul {
  margin: 14px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
}

.archive-sources li + li {
  margin-top: 8px;
}

/* Earlier photographs and uncertain changeover dates */

.archive-change-note {
  margin-top: 22px;
  padding: 15px 18px;
  background: #eeeddf;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
}

.archive-previous {
  margin-top: 45px;
  padding-top: 33px;
  border-top: 1px solid var(--rule);
}

.archive-previous h2 {
  margin-block: 12px 25px;
  font-size: 41px;
}

.archive-earlier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 420px));
  gap: 28px;
}

.archive-earlier-grid .archive-photograph {
  margin: 0;
}

/* Invitation to contribute to an individual shopfront record */

.archive-contribute {
  margin-top: 55px;
  padding: 30px 35px;
  background: #eeeddf;
}

.archive-contribute .handwritten {
  margin-bottom: 12px;
}

.archive-contribute h2 {
  font-size: 37px;
}

.archive-contribute > p:not(.handwritten) {
  max-width: 680px;
  margin-block: 15px;
  color: var(--muted);
  font-size: 13px;
}

.archive-contribute a {
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* Photograph carousel, caption and close button */

.photo-modal {
  width: min(900px, calc(100vw - 32px));
  height: min(900px, calc(100svh - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100svh - 32px);
  padding: 50px 15px 15px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 10px 55px #0006;
}

.photo-modal[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
}

.photo-modal::backdrop {
  background: #1b1f1bdb;
}

.photo-modal > form {
  position: absolute;
  top: 5px;
  right: 8px;
}

.photo-modal img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
}

.photo-modal-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.photo-modal-details {
  grid-column: 2;
  text-align: center;
  overflow-wrap: anywhere;
}

.photo-modal-caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.photo-modal-count {
  margin: 4px 0 0;
  color: var(--wine);
  font-size: 12px;
}

.photo-modal-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--wine);
  background: transparent;
  color: var(--wine);
  font: 24px/1 var(--sans);
  cursor: pointer;
}

.photo-modal-nav[hidden] {
  display: none;
}

.photo-modal-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wine);
  font: 32px/1 var(--sans);
  cursor: pointer;
}

.photo-modal-close:hover,
.photo-modal-nav:hover {
  background: #e8e3d7;
}

.photo-modal-close:focus-visible,
.photo-modal-nav:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 0;
}

.photo-modal-open {
  overflow: hidden;
}

/* Tablet and phone layouts for photographic records */

@media (max-width: 1000px) {

.shopfront-layout {
  gap: 35px;
}

.archive-facts > div {
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

}

@media (max-width: 760px) {

.shopfront-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.archive-photograph {
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}

.shopfront-story {
  padding-top: 0;
}

.recent-photo-card {
  grid-template-columns: minmax(140px, 210px) 1fr;
  gap: 25px;
}

.archive-section-heading .handwritten {
  display: none;
}

.recent-photo-copy h3 {
  font-size: 34px;
}

}

@media (max-width: 480px) {

.recent-photographs {
  padding-block: 35px 40px;
}

.archive-section-heading h2 {
  font-size: 39px;
}

.recent-photo-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 21px;
}

.recent-photo-card img {
  max-width: 360px;
}

.recent-photo-copy h3 {
  font-size: 38px;
}

.shopfront-main {
  padding-block: 23px 40px;
}

.shopfront-heading {
  margin-block: 28px;
}

.shopfront-heading h1 {
  font-size: 59px;
}

.shopfront-address {
  font-size: 23px;
}

.shopfront-address span {
  display: block;
  margin: 7px 0 0;
}

.archive-photograph {
  padding: 8px 8px 5px;
}

.shopfront-story h2 {
  font-size: 34px;
}

.archive-contribute {
  padding: 26px 22px;
}

.archive-contribute h2 {
  font-size: 33px;
}

}

/* Large screens */

@media (min-width: 1500px) {

.hero {
  padding-top: 58px;
}

}

/* Tablets and smaller desktop screens */

@media (max-width: 1000px) {

.wrap {
  width: calc(100% - 64px);
}

.paintings {
  gap: 16px;
}

.painting {
  padding: 6px 6px 4px;
}

.project {
  gap: 45px;
}

h2 {
  font-size: 42px;
}

.noticeboard {
  gap: 30px;
}

.contribute-note {
  padding: 30px;
}

.contribute-note h2 {
  font-size: 39px;
}

.site-footer > p:nth-child(2) {
  display: none;
}

}

/* Mobile layout */

@media (max-width: 680px) {

/* Mobile content width, header, and navigation */

.wrap {
  width: calc(100% - 40px);
}

.site-header {
  padding-block: 22px;
  gap: 15px;
  flex-wrap: wrap;
}

.shop-mark {
  width: 34px;
  height: 34px;
}

.wordmark {
  gap: 8px;
}

.wordmark > span {
  font-size: 24px;
}

.wordmark > span > span {
  font-size: 8px;
  letter-spacing: 2px;
}

nav {
  gap: 18px;
  font-size: 11px;
  flex-basis: 100%;
  flex-wrap: wrap;
}

nav .instagram-nav {
  display: none;
}

/* Mobile hero and typography */

.hero {
  padding-top: 37px;
  padding-bottom: 33px;
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
}

.hero .eyebrow span {
  padding-inline: 4px;
}

h1 {
  margin-top: 21px;
  font-size: clamp(62px, 13vw, 85px);
  letter-spacing: -2px;
}

.hero-description {
  max-width: 350px;
  margin: auto;
  font-size: 12px;
}

.desktop-break {
  display: none;
}

/* Mobile collage */

.collage {
  margin-top: 32px;
}

.paintings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 13px;
  padding: 10px 3px;
}

.painting figcaption {
  font-size: clamp(15px, 3.8vw, 23px);
}

.painting::before {
  top: -7px;
  height: 18px;
}

.collage-caption {
  margin-top: 17px;
  font-size: 9px;
}

.collage-caption span {
  display: block;
  margin-right: 0;
  font-size: 22px;
}

.down-link {
  margin-top: 17px;
}

/* Mobile project introduction */

.project {
  grid-template-columns: 1fr;
  gap: 35px;
  padding-block: 40px;
}

h2 {
  font-size: 44px;
}

.project-heading .handwritten {
  margin-top: 18px;
}

.project-copy .lead {
  font-size: 25px;
}

.project-copy .work-in-progress {
  font-size: 10px !important;
}

/* Mobile recording categories */

.section-label {
  align-items: start;
  flex-direction: column;
  gap: 6px;
}

.section-label h2 {
  line-height: 1.6;
}

.section-label > span {
  font-size: 20px;
}

.recording {
  padding-block: 25px 30px;
}

.recording-list {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 23px;
}

.recording-list li, .recording-list li:first-child {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 10px;
  padding: 0;
  border: 0;
}

.list-number {
  grid-row: span 2;
}

.recording-list h3 {
  margin-top: 5px;
  font-size: 28px;
}

.recording-list p {
  grid-column: 2;
  max-width: none;
}

/* Mobile contribution and follow notices */

.noticeboard {
  grid-template-columns: 1fr;
  gap: 24px;
  padding-block: 49px 35px;
}

.contribute-note {
  padding: 29px 24px;
}

.contribute-note h2 {
  font-size: 40px;
}

.email-link {
  font-size: 12px;
}

.follow-note {
  padding: 23px 14px;
}

/* Mobile footer */

.site-footer {
  font-size: 9px;
  gap: 10px;
}

}

/* Small phones */

@media (max-width: 360px) {

.wrap {
  width: calc(100% - 32px);
}

.shop-mark {
  display: none;
}

nav {
  gap: 14px;
}

.hero .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}

h1 {
  font-size: 59px;
}

.painting figcaption {
  font-size: 14px;
}

.contribute-note {
  padding-inline: 18px;
}

}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {

html {
  scroll-behavior: auto;
}

.painting {
  transition: none;
}

}
