:root {
  --bitumen: #1c1914;
  --amber: #c47a2a;
  --vapour: #d5d8d2;
  --plank: #ece8df;
  --mute: #5a5348;
  --rule: #b4b0a4;
  --radius: 16px;
  --read: 42rem;
  --span: calc(100% - var(--plank-w) - 2.6rem);
  --gutter: 1.3rem;
  --plank-w: 48px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--bitumen);
  background-color: var(--vapour);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(28, 25, 20, 0.035) 11px,
      rgba(28, 25, 20, 0.035) 12px
    );
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.65;
}

.ws-body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--plank-w);
  background:
    repeating-linear-gradient(
      180deg,
      #2a241c 0 7px,
      #1c1914 7px 14px
    );
  box-shadow: inset -3px 0 0 var(--amber);
  z-index: 3;
  pointer-events: none;
}

.ws-body.ws-inner::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--amber);
  opacity: 0.35;
  z-index: 4;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--amber);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--bitumen); }

h1, h2, h3 {
  font-family: BioRhyme, Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bitumen);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.7rem, 3.6vw, 2.45rem); }
h2 { font-size: 1.18rem; }
h3 { font-size: 1rem; }

p { margin: 0 0 0.95rem; }

.ws-kicker {
  font-family: BioRhyme, Georgia, serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0 0 0.45rem;
}

.ws-skip {
  position: absolute;
  left: -999px;
  top: 0.4rem;
  background: var(--plank);
  padding: 0.35rem 0.65rem;
}

.ws-skip:focus {
  left: calc(var(--plank-w) + 0.5rem);
  z-index: 6;
}

.ws-top {
  background: var(--bitumen);
  color: var(--vapour);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.75rem 1.15rem 0.85rem calc(var(--plank-w) + 1rem);
  border-bottom: 6px solid var(--amber);
  position: relative;
}

.ws-mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--vapour);
  text-decoration: none;
  min-width: 0;
}

.ws-mark img {
  width: 44px;
  height: 44px;
  border: 1px solid #6a5a3c;
  background: #2a241c;
}

.ws-word {
  display: grid;
  line-height: 1.05;
}

.ws-word b {
  font-family: BioRhyme, Georgia, serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.ws-word i {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #d4b48a;
  text-transform: uppercase;
}

.ws-mark:hover { color: #f3e6d0; }

.ws-fold {
  margin-left: auto;
  background: transparent;
  color: var(--vapour);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  font: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.ws-links {
  display: none;
  grid-column: 1 / -1;
  gap: 0.8rem 1.1rem;
}

.ws-links.is-open { display: flex; flex-wrap: wrap; }

.ws-links a {
  color: var(--vapour);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-bottom: 0.1rem;
  font-family: BioRhyme, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.ws-links a[aria-current="page"],
.ws-links a:hover {
  border-bottom-color: var(--amber);
}

@media (min-width: 760px) {
  .ws-fold { display: none; }
  .ws-links {
    display: flex;
    width: auto;
    margin-left: auto;
    grid-column: auto;
  }
}

.ws-trough {
  width: var(--span);
  max-width: none;
  margin: 0 1.4rem 0 calc(var(--plank-w) + 1rem);
  padding: 2rem 0 1.2rem;
  display: grid;
  grid-template-columns: minmax(88px, 160px) minmax(0, 1fr);
  gap: 1rem 1.8rem;
  align-items: start;
}

.ws-trough .ws-copy {
  text-align: right;
  justify-self: stretch;
  max-width: none;
  width: auto;
}

.ws-trough .ws-lead {
  max-width: none;
  margin-left: 0;
}

.ws-hole {
  width: 100%;
  max-width: 140px;
}

.ws-hole .hole-draw {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: hole-draw 1.1s ease forwards;
}

@keyframes hole-draw {
  to { stroke-dashoffset: 0; }
}

.ws-channel {
  grid-column: 1 / -1;
  background: #2a241c;
  color: var(--vapour);
  padding: 0.85rem 0.9rem 1rem;
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
}

.ws-posts {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.ws-posts li {
  background: var(--vapour);
  color: var(--bitumen);
  border: 1px solid var(--bitumen);
  border-radius: 2px 2px 10px 10px;
  padding: 0.45rem 0.75rem 0.7rem;
  font-family: BioRhyme, Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 4.6rem;
  text-align: center;
  transition: transform 0.16s ease;
}

.ws-posts li:hover { transform: translateY(-4px); }

.ws-bound {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  padding: 0.65rem 0 0;
  border: 0;
  border-top: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--mute);
  text-align: right;
}

.ws-trough .ws-bollards,
.ws-chip .ws-desk {
  grid-column: 1 / -1;
  max-width: none;
  width: auto;
  margin: 1.1rem 0 0;
  padding: 0;
}

.ws-bollards,
.ws-chip,
.ws-lamps,
.ws-desk,
.ws-read {
  width: var(--span);
  max-width: none;
  margin: 0 1.4rem 0 calc(var(--plank-w) + 1rem);
  padding: 0 0 2rem;
}

.ws-post-list,
.ws-lamp-list,
.ws-beat-list,
.ws-map {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1rem;
  padding: 0;
}

@media (min-width: 820px) {
  .ws-post-list,
  .ws-lamp-list,
  .ws-map { grid-template-columns: 1fr 1fr 1fr; }
}

.ws-slip {
  background: var(--plank);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  border-radius: 0;
  padding: 0.95rem 1rem 0.8rem;
  box-shadow: none;
  transition: transform 0.16s ease;
}

.ws-slip:hover { transform: translateY(-4px); }

.ws-n {
  display: inline-block;
  color: var(--amber);
  font-family: BioRhyme, Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.ws-chip address {
  display: block;
  font-style: normal;
  background: var(--bitumen);
  color: var(--vapour);
  padding: 1.15rem 1.2rem 0.7rem;
  border-right: 10px solid var(--amber);
}

.ws-chip address a { color: #e6c48a; }
.ws-chip address h2 { color: var(--vapour); }

.ws-fill,
.ws-ghost,
button.ws-fill {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  border-radius: var(--radius);
  padding: 0.52rem 1rem;
  text-decoration: none;
  font-family: BioRhyme, Georgia, serif;
  font-weight: 700;
  margin: 0 0.5rem 0.5rem 0;
  border: 1px solid var(--amber);
  cursor: pointer;
}

.ws-fill,
button.ws-fill {
  background: var(--amber);
  color: #1c1914;
}

.ws-fill:hover,
button.ws-fill:hover {
  background: var(--bitumen);
  border-color: var(--bitumen);
  color: #f3e6d0;
}

.ws-ghost {
  background: transparent;
  color: var(--bitumen);
  border-color: var(--bitumen);
}

.ws-inner .ws-read {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.ws-read > p,
.ws-read .ws-asks,
.ws-read .ws-form,
.ws-read .ws-where,
.ws-read .ws-hint,
.ws-read .ws-points {
  max-width: var(--read);
}

.ws-open { margin-bottom: 1.3rem; }

.ws-fields { margin: 0 0 1.3rem; }

.ws-fields div {
  display: grid;
  grid-template-columns: minmax(7rem, 13rem) 1fr;
  gap: 0.35rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.ws-fields dt {
  font-weight: 700;
  margin: 0;
  font-family: BioRhyme, Georgia, serif;
}

.ws-fields dd { margin: 0; }

.ws-points {
  margin: 0 0 1.3rem;
  padding-left: 1.1rem;
}

.ws-asks dt {
  border-top: 1px solid var(--rule);
  padding: 0.85rem 0 0.2rem;
  font-family: BioRhyme, Georgia, serif;
  font-weight: 700;
}

.ws-asks dd { margin: 0 0 0.75rem; }

.ws-form {
  display: grid;
  gap: 0.8rem;
  max-width: 28rem;
}

.ws-form label { display: grid; gap: 0.28rem; font-weight: 600; }

.ws-form input,
.ws-form textarea {
  font: inherit;
  border: 1px solid var(--bitumen);
  border-radius: var(--radius);
  padding: 0.48rem 0.62rem;
  background: var(--plank);
}

.ws-hint { color: var(--mute); font-size: 0.92rem; }

.ws-where {
  display: block;
  font-style: normal;
  margin: 0 0 1.3rem;
  padding: 0.9rem 1rem;
  background: var(--plank);
  border-left: 4px solid var(--amber);
}

.ws-foot {
  background: var(--bitumen);
  color: var(--vapour);
  padding: 1.45rem var(--gutter) 1.7rem calc(var(--plank-w) + 1rem);
  border-top: 2px solid var(--bitumen);
  box-shadow: inset 0 1px 0 var(--amber);
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .ws-foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .ws-foot .ws-legal,
  .ws-foot .ws-line,
  .ws-foot .ws-edge {
    grid-column: 1 / -1;
  }
}

.ws-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.ws-cluster a { color: #d8c4a0; text-decoration: none; }
.ws-cluster a:hover { color: #fff; }

.ws-ink {
  margin: 0 0 0.55rem;
  color: #d4b48a;
  font-family: BioRhyme, Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ws-ink img {
  width: 52px;
  height: 52px;
  margin-bottom: 0.4rem;
  border: 1px solid var(--amber);
}

.ws-legal,
.ws-line,
.ws-edge {
  color: #c5c0b4;
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 58rem;
  overflow-wrap: break-word;
}

.ws-legal a { color: #d8c4a0; }

@media (max-width: 700px) {
  :root { --plank-w: 18px; }
  .ws-trough {
    grid-template-columns: 1fr;
  }
  .ws-trough .ws-copy,
  .ws-bound,
  .ws-trough .ws-lead {
    text-align: left;
    margin-left: 0;
    max-width: none;
    width: auto;
    justify-self: stretch;
  }
  .ws-posts { justify-content: flex-start; }
  .ws-fields div { grid-template-columns: 1fr; }
  .ws-hole { max-width: 110px; }
}
