/* Hallmark · shape: banner stage · genre: editorial · theme: brand · redesign: full · copy: verbatim
 * paper: oklch(98.1% 0.020 84.6) · accent: oklch(87.0% 0.138 83.9) · display: Liberation Serif · body: Liberation Sans · hero: banner · nav: gold bar · footer: gold bar · signature: the two illustration banners
 * axes: warm paper/serif/logo gold · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S4 R4 V5 · weakest: S, the catalogues stay long because every drawing is his */
/* Hallmark · waive 23 · header and footer are the logo plate · illustrations sit on the logo gold he already prints */
/* Hallmark · waive 77 · books and catalogues are the whole page · Hynes books already fill these pages */
/* Hallmark · waive 83 · photographs cover the catalogues · cards and colouring pictures stay because the catalogues are the work */
/* Hallmark · answered F1 · Children's, parent's and Don's keep the punctuation he wrote */
/* Hallmark · answered F20 · the last colouring page and the last illustration stay, because a picture was not dropped to even the row */
@import url("./tokens.css");
@import url("./base.css");

:root { --header: 4.5rem; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
html { scroll-padding-top: calc(var(--header) + var(--space-sm)); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: var(--z-toast);
  background: var(--color-paper);
  color: var(--color-ink);
  padding: var(--space-xs) var(--space-sm);
}
.skip:focus { top: var(--space-sm); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--space-md);
  height: auto;
  padding-block: var(--space-2xs);
  padding-inline: var(--gutter);
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.site-header .brand { margin-right: auto; }
.site-header .brand img,
.foot .brand img { height: 3.25rem; width: auto; }
.motto {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2xs) var(--space-md);
  margin-left: 0;
}
.site-header nav a,
.foot nav a,
.action,
.order {
  white-space: nowrap;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-ink); }
.menu-button {
  display: none;
  margin-left: var(--space-md);
  min-height: 2.75rem;
  padding-inline: var(--space-sm);
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero { background: var(--color-paper); }
.banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 556;
  object-fit: cover;
  background: var(--color-paper);
}
.hero-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-md);
}
.hero h1,
.page-head h1 {
  max-width: 100%;
  font-size: 2.25rem;
  text-transform: none;
}
.hero h1 { text-transform: uppercase; }

.action, .order {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 700;
  text-decoration: none;
}
.action:hover, .order:hover { background: var(--color-accent-press); }
a:active, button:active { transform: translateY(1px); }
button:disabled {
  background: var(--color-paper-3);
  color: var(--color-muted);
  cursor: not-allowed;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--gap-columns);
  align-items: start;
  padding-block: var(--space-2xl) 0;
}
.intro p + p,
.page-head p + p,
.rest p + p { margin-top: var(--space-md); }
.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--color-paper-2);
}

.shelves { padding-block: var(--section-gap); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-columns);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  padding: var(--space-sm);
  background: var(--color-paper-2);
  color: var(--color-ink);
  text-decoration: none;
}
.card img, .gallery img, .people img, .book img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--color-paper-3);
}
.card span {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.2;
}

.stage { background: var(--color-paper); }
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-columns);
  align-items: start;
  padding-block: var(--space-lg);
}
.page-head { padding-block: var(--space-lg) var(--space-md); }
.stage .page-head { padding-block: 0; }
.page-head h1 { margin-bottom: var(--space-lg); }
.band h2, .book h2 { font-size: clamp(1.35rem, 0.5vw + 1.05rem, 1.7rem); }
.stage figure, .stage .film, .stage .book {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  min-height: 0;
}
.stage img, .stage video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  max-height: calc(100dvh - var(--header) - 12rem);
  height: auto;
  object-fit: contain;
  background: var(--color-paper-2);
}
.stage figcaption { margin-top: var(--space-xs); }

.book {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
  scroll-margin-top: calc(var(--header) + var(--space-md));
}
.stage + .wrap { padding-top: var(--space-lg); }
.stage + .wrap > .band:first-child { margin-top: var(--space-md); }
.stage .book { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.book h2 + .order, .film p { margin-top: var(--space-md); }
#bob-nog { scroll-margin-top: calc(var(--header) + var(--space-md)); margin-top: var(--section-gap); }
.verse { margin-top: var(--space-md); }

.band { margin-top: var(--section-gap-s); }
.band h2 { margin-bottom: var(--space-xl); }
.gallery, .people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg) var(--gap-columns);
}
.gallery a, .people a { display: block; min-width: 0; }
figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
figcaption p { margin-top: var(--space-2xs); }
.rest { padding-bottom: var(--space-lg); }

footer {
  margin-top: var(--section-gap-s);
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.foot {
  display: grid;
  gap: var(--space-md);
  padding-block: var(--space-xl);
}
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
.foot nav a, .foot .contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: none;
}
.foot .contact a { overflow-wrap: anywhere; }

@media (max-width: 70rem) {
  .gallery, .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 60rem) {
  .intro, .stage-grid, .book, .work-grid, .gallery, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .book { grid-template-columns: minmax(0, 1fr); }
  .hero-bar { flex-direction: column; align-items: start; }
  .stage img, .stage video { max-height: none; aspect-ratio: auto; }
}

@media (max-width: 40rem) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 48rem) {
  .motto { white-space: normal; }
  .menu-button { display: inline-flex; }
  .site-header nav {
    display: none;
    flex: none;
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    padding: var(--space-sm) var(--gutter) var(--space-md);
    background: var(--color-accent);
  }
}
