:root {
  color-scheme: dark;
  background: #100c09;
  color: #f7eee0;
  font-family: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
.workshop {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #201710 0%, #100c09 68%);
}
.brand {
  display: flex;
  gap: .85rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid #75502e;
}
.emblem { width: 4.2rem; height: auto; }
h1, h2, p { margin: 0; }
h1 {
  font-size: .82rem;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: .12em;
}
h1 span { display: block; font-size: 2rem; line-height: 1; letter-spacing: .055em; }
.brand p { margin-top: .4rem; font-size: .875rem; color: #e7c292; }
.scene { position: relative; overflow: hidden; }
.art { width: 100%; height: auto; display: block; }
.scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16%;
  background: linear-gradient(transparent, #100c09);
  pointer-events: none;
}
.details {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: #100c09 url("assets/fabric.webp") right bottom / min(24%, 8rem) auto no-repeat;
}
.message, .contact { padding-inline: clamp(1.25rem, 6vw, 3rem); }
.message { padding-block: .7rem 1.15rem; }
h2 { font-weight: 400; font-style: italic; font-size: clamp(1.15rem, 4.8vw, 1.65rem); text-transform: uppercase; }
h2 strong { display: block; font-size: clamp(3.7rem, 17vw, 6.5rem); line-height: .97; letter-spacing: -.045em; font-weight: 500; }
.motto { text-wrap: balance; color: #f3c17f; font-style: italic; font-size: 1.16rem; line-height: 1.42; margin-top: .85rem; }
.status { line-height: 1.5; margin-top: .4rem; }
.contact { border-top: 1px solid #654729; display: flex; flex-wrap: wrap; gap: 0 1.4rem; padding-block: .5rem .85rem; padding-right: 20%; }
.contact a {
  color: #f7eee0;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration-color: #a97947;
  text-underline-offset: .25em;
}
.contact a:hover { color: #ffd59c; text-decoration-color: currentColor; }
a:focus-visible { outline: 3px solid #ffd68c; outline-offset: 2px; border-radius: 3px; }
.sparks { pointer-events: none; position: absolute; left: 64%; top: 83%; }
.sparks i { position: absolute; width: 3px; height: 2px; border-radius: 50%; background: #ffc474; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .sparks i { animation: drift 2.6s ease-out .2s 1; }
  .sparks i:nth-child(2) { left: 12px; animation-delay: .85s; }
  .sparks i:nth-child(3) { left: -9px; animation-delay: 1.5s; }
}
@keyframes drift {
  0%, 100% { opacity: 0; }
  16% { opacity: .8; }
  100% { transform: translate(19px, -43px); }
}
@media (min-width: 42em) {
  .workshop { display: grid; grid-template: auto 1fr / 1fr 1fr; }
  .brand { grid-column: 1 / -1; }
  .scene { display: grid; align-content: center; }
  .message { padding-block: 2rem; }
  h2 strong { font-size: clamp(3.5rem, 8vw, 6rem); }
}
/* The wide poster already contains every line of copy. Keep the semantic text
   and the same two links available, aligned with their printed counterparts. */
@media (min-width: 60em) and (min-height: 30em) and (min-aspect-ratio: 6/5) and (forced-colors: none) {
  body { display: grid; place-items: center; background: radial-gradient(ellipse, #291a12, #100c09 75%); }
  .workshop {
    display: block;
    width: min(100%, 177.6833vh);
    width: min(100%, 177.6833svh);
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }
  .brand, .message, .contact a span {
    border: 0; margin: -1px; padding: 0;
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .emblem, .scene::after { display: none; }
  .scene { display: block; }
  .sparks { left: 35%; top: 85%; }
  .details, .contact { display: contents; }
  .contact a { position: absolute; top: 85.65%; height: 6.2%; min-height: 2.75rem; border-radius: 4px; }
  .web { left: 54.25%; width: 16.5%; }
  .email { left: 72.6%; width: 18.15%; }
  .contact a:hover, .contact a:focus-visible { background: rgb(255 209 145 / 9%); box-shadow: inset 0 -2px #ffd394; }
}
@media (forced-colors: active) {
  .workshop, .details { background: Canvas; color: CanvasText; }
  .contact a { color: LinkText; }
  a:focus-visible { outline-color: Highlight; }
  .sparks { display: none; }
}
