:root {
  color-scheme: light;
  --berry: #854661;
  color: #30262f;
  background: #fcf9f6;
  font-family: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
body { max-width: 1520px; margin: auto; padding: 0 clamp(20px, 5vw, 80px); }
.bar, footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bar { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font: 700 1.75rem Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; letter-spacing: -.07em; }
.brand:focus-visible { outline: 2px solid var(--berry); outline-offset: 5px; }
.brand { position: relative; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.brand .wordmark { position: relative; }
.brand canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.mark {
  width: 34px; height: 28px; background: var(--berry);
  clip-path: polygon(0 75%,12.5% 75%,12.5% 50%,25% 50%,25% 25%,37.5% 25%,37.5% 0,50% 0,50% 25%,62.5% 25%,62.5% 50%,75% 50%,75% 25%,87.5% 25%,87.5% 50%,100% 50%,100% 100%,0 100%);
}
.studio-label, .studio-intro { font-size: .82rem; }
.studio-label, h1 { font-weight: 400; letter-spacing: .04em; }
main { display: grid; gap: 14px; width: 86%; max-width: 980px; margin: clamp(40px, 6vw, 84px) auto; }
h1 { margin: 0; font-size: inherit; }
.studio-intro p { max-width: 64ch; margin: 10px 0 0; line-height: 1.6; color: #50494e; }
main .landscape { grid-row: 1; }
.landscape { --crop: 50% center; position: relative; overflow: hidden; }
.landscape img { display: block; width: 100%; height: auto; }
.landscape canvas.clouds {
  -webkit-mask: url("assets/cloud-visibility.png") var(--crop) / cover no-repeat;
  mask: url("assets/cloud-visibility.png") var(--crop) / cover no-repeat;
}
.landscape canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
footer { padding: 18px 0; align-items: baseline; flex-wrap: wrap; color: #665d60; font-size: .75rem; line-height: 1.6; }
footer details { min-width: 0; max-width: 100%; }
footer summary { display: flex; align-items: center; gap: 7px; cursor: pointer; padding: 6px 0; width: fit-content; margin-left: auto; list-style: none; }
footer summary::-webkit-details-marker { display: none; }
footer summary::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: currentColor;
  clip-path: polygon(20% 0, 40% 0, 40% 20%, 60% 20%, 60% 40%, 80% 40%, 80% 60%, 60% 60%, 60% 80%, 40% 80%, 40% 100%, 20% 100%, 20% 80%, 40% 80%, 40% 60%, 60% 60%, 60% 40%, 40% 40%, 40% 20%, 20% 20%);
}
footer details[open] > summary::before { transform: rotate(90deg); }
footer summary:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
footer p { margin: 8px 0 0; }
footer address { font-style: normal; }
@media (max-width: 640px) {
  .bar { min-height: 68px; }
  main { width: 100%; margin: 32px auto; }
  .studio-label { text-align: right; max-width: 17ch; }
  .landscape { --crop: 27% center; }
  .landscape img { height: clamp(235px, 65vw, 340px); object-fit: cover; object-position: var(--crop); }
  footer details[open] { width: 100%; }
  footer details[open] summary { margin-left: 0; }
  footer { gap: 4px 14px; padding: 18px 0; overflow-wrap: anywhere; }
}

.landscape canvas.grass { object-fit: cover; object-position: var(--crop); image-rendering: auto; pointer-events: none; }
