@charset "utf-8";
/* ==========================================================================
   THEME CANVAS UK  ::  easel.css
   themecanvas.uk  ::  written by hand, no build step, no framework.

   The house look is a printer's specimen sheet: warm stock, hairline rules,
   a serif cut for anything that carries a voice, and one violet used the way
   a studio uses a single spot colour - sparingly, and always on purpose.
   Nothing floats. There are no drop shadows and no rounded slabs, because
   paper does not have them.

   Vocabulary (print / studio):
     plate      page measure          rail      top navigation bar
     imprint    the logo lockup       easel     the opening spread
     folio      inner page head       gallery   a band of the page
     hang       a row of swatches     swatch    one card-sized unit
     frame      a mounted preview     stamp     a pressed button
     tally      counted figures       ticks     a checked list
     sequence   numbered stages       mount     a boxed aside
     ledger     tabular matter        leaf      long-form prose
     snippet    set code                        colophon  the foot of the page
   ========================================================================== */

:root {
  /* stock and ink */
  --paper: #F7F1E8;
  --paper-tint: #F1E9DC;
  --leaf: #FBF7F0;
  --ink: #241D18;
  --ink-mid: #4C423B;
  --ink-soft: #6F635A;
  --rule: #DED2C0;
  --rule-strong: #C9BAA4;

  /* the one spot colour */
  --spot: #6D4FA1;
  --spot-deep: #563A86;
  --spot-wash: #EDE7F5;

  /* type */
  --type-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --type-text: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --type-slug: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* measure and rhythm */
  --measure: 68rem;
  --measure-narrow: 44rem;
  --band: 84px;
  --edge: 2px;
}

@media (max-width: 47.99rem) {
  :root { --band: 52px; }
}

/* ---------------------------------------------------------------- reset - */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--type-text);
  font-size: 1.0625rem;
  line-height: 1.66;
  color: var(--ink-mid);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--type-display);
  color: var(--ink);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.35rem, 1.9rem + 2.4vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
}

h2 {
  font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.008em;
}

h3 { font-size: 1.1875rem; line-height: 1.32; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 700; }
em { font-style: italic; }

a {
  color: var(--spot);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 140ms linear;
}
a:hover { color: var(--spot-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--spot);
  outline-offset: 3px;
}

::selection { background: var(--spot-wash); color: var(--ink); }

code, kbd {
  font-family: var(--type-slug);
  font-size: 0.86em;
  color: var(--ink);
  background: var(--paper-tint);
  padding: 0.08em 0.34em;
  border: 1px solid var(--rule);
}

.snippet {
  font-family: var(--type-slug);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--leaf);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--spot);
  padding: 16px 18px;
  margin: 20px 0 24px;
  overflow-x: auto;
  white-space: pre;
}

/* ------------------------------------------------------------ furniture - */

.plate {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 28px;
}
.plate--narrow { max-width: var(--measure-narrow); }

@media (max-width: 33.99rem) {
  .plate { padding-inline: 18px; }
}

.offscreen {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.easel__skip {
  position: absolute; left: 0; top: -5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  z-index: 400;
}
.easel__skip:focus { top: 0; color: var(--paper); }

.hairline {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

/* ----------------------------------------------------------------- rail - */

.rail {
  border-bottom: 1px solid var(--rule);
  background-color: var(--paper);
}

.rail__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}
@media (max-width: 47.99rem) {
  .rail__inner { min-height: 58px; }
}

.imprint {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  flex: none;
  text-decoration: none;
}
.imprint__mark {
  width: 22px; height: 22px;
  flex: none;
  align-self: center;
  display: block;
}
.imprint__mark .mark-edge { stroke: var(--ink); }
.imprint__mark .mark-fill { fill: var(--spot); }
.imprint__word {
  font-family: var(--type-display);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: 0.006em;
  color: var(--ink);
  white-space: nowrap;
}
.imprint__accent { color: var(--spot); font-style: italic; }

.rail__nav { margin-left: auto; }
.rail__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.rail__list a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  text-decoration: none;
}
.rail__list a:hover { color: var(--ink); }
.rail__list a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--spot);
  padding-bottom: calc(0.45rem - 2px);
}

.rail__cta { flex: none; }

.rail__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--rule-strong);
  padding: 0.5rem 0.55rem;
  cursor: pointer;
}
.rail__bar {
  display: block;
  width: 1.15rem; height: 2px;
  background: var(--ink);
}
.rail__bar + .rail__bar { margin-top: 4px; }

@media (max-width: 61.99rem) {
  /* specificity has to beat .stamp's own display, which is declared later */
  .rail__cta.stamp { display: none; }
}

@media (max-width: 47.99rem) {
  .rail__toggle { display: block; }
  .rail__nav {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--rule);
    padding-block: 8px 14px;
  }
  .rail__nav.is-open { display: block; }
  .rail__inner { flex-wrap: wrap; padding-bottom: 0; }
  .rail__list { flex-direction: column; align-items: stretch; gap: 0; }
  .rail__list a { padding: 0.7rem 0.2rem; font-size: 1rem; }
  .rail__list a[aria-current="page"] {
    border-bottom: 0;
    border-left: 3px solid var(--spot);
    padding-left: 0.75rem;
    padding-bottom: 0.7rem;
  }
}

/* --------------------------------------------------------------- stamps - */

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-family: var(--type-text);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--edge);
  cursor: pointer;
  transition: background-color 140ms linear, color 140ms linear, border-color 140ms linear;
}

.stamp--ink {
  background: var(--spot);
  border-color: var(--spot);
  color: #FFFFFF;
}
.stamp--ink:hover {
  background: var(--spot-deep);
  border-color: var(--spot-deep);
  color: #FFFFFF;
}

.stamp--outline {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
.stamp--outline:hover { border-color: var(--spot); color: var(--spot); }

.stamp--paper {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--spot-deep);
}
.stamp--paper:hover { background: var(--spot-wash); color: var(--spot-deep); }

.stamp--wide { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.stamp--rail { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }

.inkline {
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration-line: none;
  border-bottom: 1px solid var(--spot-wash);
}
.inkline:hover { border-bottom-color: var(--spot); }
.inkline__mark { font-family: var(--type-slug); padding-left: 4px; }

/* ------------------------------------------------------------ type marks - */

.caption {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.caption--tag {
  display: inline-block;
  color: var(--spot-deep);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 6px;
  margin-bottom: 22px;
  letter-spacing: 0.12em;
}

.standfirst {
  font-family: var(--type-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-mid);
}

.smallprint { font-size: 0.8125rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- easel - */

.easel {
  padding-block: 72px 56px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 47.99rem) {
  .easel { padding-block: 40px 36px; }
}

.easel__copy { max-width: 46rem; }
.easel__title { margin-bottom: 22px; }
.easel__title em { font-style: italic; color: var(--spot); }
.easel__standfirst { max-width: 40rem; margin-bottom: 30px; }

.easel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.easel__aside { margin-top: 0; }

.easel__spread {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 56px;
}
.easel__spread .frame { flex: 1 1 0; min-width: 0; }
@media (max-width: 47.99rem) {
  .easel__spread { margin-top: 34px; }
  .easel__spread .frame--side { display: none; }
}

.stock {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.stock__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stock__item {
  font-family: var(--type-display);
  font-size: 1.0625rem;
  color: var(--ink);
}

/* ---------------------------------------------------------------- folio - */

.folio {
  padding-block: 60px 34px;
  border-bottom: 1px solid var(--rule);
}
.folio__standfirst { max-width: 40rem; margin-top: 18px; }
.folio__meta { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-soft); }
@media (max-width: 47.99rem) {
  .folio { padding-block: 38px 26px; }
}

/* -------------------------------------------------------------- gallery - */

.gallery { padding-block: var(--band); }
.gallery--tint { background: var(--paper-tint); }
.gallery--ink {
  background: var(--ink);
  color: rgba(247, 241, 232, 0.78);
}
.gallery--ink h2 { color: var(--paper); }
.gallery--ink .caption { color: rgba(247, 241, 232, 0.6); }
.gallery--ink .gallery__intro { color: rgba(247, 241, 232, 0.72); }
.gallery--ink a { color: #CBB8E8; }

.gallery__head { margin-bottom: 42px; max-width: 46rem; }
.gallery__head h2 { margin-bottom: 14px; }
.gallery__head--centred { margin-inline: auto; text-align: center; }
.gallery__intro { max-width: 40rem; }
.gallery__head--centred .gallery__intro { margin-inline: auto; }

/* --------------------------------------------------------- hang, swatch - */

.hang {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.swatch {
  background: var(--leaf);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.swatch h3 { margin-bottom: 8px; }
.swatch p { font-size: 0.9375rem; }
.swatch__body { display: flex; flex-direction: column; flex: 1; }
.swatch__foot { margin-top: auto; padding-top: 16px; }

.swatch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.swatch__chip {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
  border-radius: var(--edge);
}
.swatch__chip--kind {
  color: var(--spot-deep);
  border-color: var(--spot);
  background: var(--spot-wash);
}

.swatch__glyph {
  width: 34px; height: 34px;
  margin-bottom: 18px;
  color: var(--spot);
  flex: none;
}
.swatch__glyph svg { width: 34px; height: 34px; display: block; }

.swatch__note { font-size: 0.8125rem; color: var(--ink-soft); margin-top: 12px; }

.swatch--frame { padding: 0; }
.swatch--frame .swatch__body { padding: 22px 24px 26px; }
.swatch--frame .frame { border: 0; border-bottom: 1px solid var(--rule); }

/* ---------------------------------------------------------------- frame - */

.frame {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.frame__label {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background: var(--paper-tint);
  border-bottom: 1px solid var(--rule);
}
.frame__slug {
  font-family: var(--type-slug);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.frame__shot { display: block; width: 100%; height: auto; }
.frame--wide { width: 100%; }
.frame--side { margin-top: 22px; }

/* ---------------------------------------------------------------- tally - */

.tally {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247, 241, 232, 0.18);
  border: 1px solid rgba(247, 241, 232, 0.18);
}
.tally__cell { background: var(--ink); padding: 24px 20px; }
.tally__figure {
  display: block;
  font-family: var(--type-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--paper);
  font-feature-settings: "tnum";
}
.tally__caption {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: rgba(247, 241, 232, 0.66);
}
@media (max-width: 47.99rem) {
  .tally { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------- lists, sequence - */

.ticks { list-style: none; display: grid; gap: 9px; font-size: 0.9375rem; margin-bottom: 1rem; }
.ticks__item { position: relative; padding-left: 22px; }
.ticks__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 1px;
  background: var(--spot);
}

.sequence { list-style: none; counter-reset: stage; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sequence__step {
  counter-increment: stage;
  background: var(--leaf);
  padding: 24px 26px 24px 74px;
  position: relative;
}
.sequence__step::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: 26px; top: 25px;
  font-family: var(--type-display);
  font-size: 1.25rem;
  color: var(--spot);
}
.sequence__title { margin-bottom: 6px; }
.sequence__note { font-size: 0.9375rem; margin-bottom: 0; }
@media (max-width: 33.99rem) {
  .sequence__step { padding: 20px 20px 20px 58px; }
  .sequence__step::before { left: 20px; top: 21px; }
}

/* --------------------------------------------------- mounts and notices - */

.mount {
  background: var(--leaf);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--spot);
  padding: 20px 24px;
  margin: 26px 0;
}
.mount p { font-size: 0.9375rem; }

.margin-note {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 16px 0;
  margin: 26px 0;
  font-size: 0.9375rem;
}
.margin-note p { font-size: 0.9375rem; }

/* ------------------------------------------------------------ broadside - */

.broadside {
  background: var(--spot);
  color: rgba(255, 255, 255, 0.9);
  padding-block: 64px;
}
.broadside h2 { color: #FFFFFF; max-width: 30rem; }
.broadside p { color: rgba(255, 255, 255, 0.86); max-width: 34rem; margin: 14px 0 26px; }
.broadside a { color: #FFFFFF; }
/* the paper stamp keeps its ink on the violet band - .broadside a would
   otherwise paint it white on a cream background */
.broadside a.stamp--paper { color: var(--spot-deep); }
.broadside a.stamp--paper:hover { color: var(--spot-deep); }

/* ----------------------------------------------------------- spread/faq - */

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
@media (max-width: 49.99rem) { .spread { grid-template-columns: 1fr; } }

.spread--tiles {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.queries { max-width: 46rem; border-top: 1px solid var(--rule); }

.query { border-bottom: 1px solid var(--rule); }
.query summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  font-family: var(--type-display);
  font-size: 1.0625rem;
  color: var(--ink);
}
.query summary::-webkit-details-marker { display: none; }
.query summary::after {
  content: "+";
  font-family: var(--type-slug);
  color: var(--spot);
  flex: none;
}
.query[open] summary::after { content: "\2212"; }
.query__answer { padding-bottom: 20px; }
.query__answer p { font-size: 0.9375rem; }

/* --------------------------------------------------------------- ledger - */

.ledger { overflow-x: auto; margin: 18px 0 26px; }
.ledger__table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--leaf);
}
.ledger__table th, .ledger__table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border: 1px solid var(--rule);
}
.ledger__table thead th {
  background: var(--paper-tint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ledger__table tbody th {
  width: 30%;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-tint);
}

/* ----------------------------------------------------------------- leaf - */

.leaf { max-width: var(--measure-narrow); }
.leaf h2 { font-size: 1.45rem; }
.leaf h3 { font-size: 1.0625rem; margin-top: 24px; margin-bottom: 8px; }
.leaf ul, .leaf ol { margin: 0 0 1rem 1.35rem; }
.leaf li { margin-bottom: 8px; }
.leaf li::marker { color: var(--spot); }

.leaf__index {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 22px 0;
  margin: 30px 0 46px;
}
.leaf__index h2 {
  font-family: var(--type-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.leaf__list {
  list-style: none;
  columns: 2;
  column-gap: 36px;
  margin: 0;
  font-size: 0.875rem;
}
.leaf__list li { margin-bottom: 6px; break-inside: avoid; }
.leaf__list a { color: var(--ink-mid); text-decoration: none; }
.leaf__list a:hover { color: var(--spot); }
@media (max-width: 39.99rem) { .leaf__list { columns: 1; } }

/* ------------------------------------------------------------- colophon - */

.colophon {
  background: var(--ink);
  color: rgba(247, 241, 232, 0.72);
  padding-block: 62px 28px;
  font-size: 0.875rem;
}
.colophon a { color: rgba(247, 241, 232, 0.86); text-decoration: none; }
.colophon a:hover { color: var(--paper); text-decoration-line: underline; }

.colophon__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 42px;
}
@media (max-width: 61.99rem) { .colophon__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 33.99rem) { .colophon__grid { grid-template-columns: 1fr; gap: 28px; } }

.colophon__title {
  font-family: var(--type-text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.5);
  margin-bottom: 14px;
}
.colophon__list { list-style: none; display: grid; gap: 9px; }
.colophon__col p { color: rgba(247, 241, 232, 0.66); }
.colophon__brand { max-width: 22rem; }
.colophon__brand .imprint { margin-bottom: 16px; }
.colophon__brand .imprint__mark .mark-edge { stroke: var(--paper); }
.colophon__brand .imprint__mark .mark-fill { fill: var(--paper); }
.colophon__brand .imprint__word,
.colophon__brand .imprint__accent { color: var(--paper); }

.colophon__fineprint {
  border-top: 1px solid rgba(247, 241, 232, 0.16);
  padding-top: 22px;
  font-size: 0.78125rem;
  color: rgba(247, 241, 232, 0.52);
}
.colophon__fineprint p { color: rgba(247, 241, 232, 0.52); margin-bottom: 8px; font-size: 0.78125rem; }
