:root { --ink: #172820; --paper: #edf5e8; --accent: #b4dfa5; --shade: #437654; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--paper);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.masthead, footer { padding: 1.15rem clamp(1.1rem, 5vw, 5rem); }
.masthead { border-bottom: 1px solid color-mix(in srgb, var(--paper) 24%, transparent); }
.home { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; font-weight: 650; }
.home img { border-radius: 8px; }
.hero { min-height: min(73vh, 54rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.story { display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(2.5rem, 8vw, 8rem) clamp(1.1rem, 5vw, 5rem); }
h1 { font-family: "Bricolage Grotesque", "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(2.55rem, 6.05vw, 6.65rem); line-height: .97;
  letter-spacing: -.066em; margin: 0; max-width: 12ch; overflow-wrap: anywhere; }
.story p { max-width: 34ch; margin: 1.45rem 0 0; font-size: clamp(1rem, 1.55vw, 1.28rem); line-height: 1.6; }
.project-link { display: inline-block; margin-top: 1.6rem; padding: .8rem 1.1rem; border-radius: .4rem;
  background: var(--accent); color: var(--ink); font-weight: 700; text-underline-offset: .2em; }
.project-link:hover { background: var(--paper); }
.art { display: grid; place-items: center; position: relative; isolation: isolate; min-width: 0;
  padding: clamp(1.25rem, 5vw, 4.5rem); overflow: hidden;
  background: radial-gradient(ellipse at 76% 22%, var(--accent), var(--shade) 73%); }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(135deg, transparent 0 24px, #fff1 25px 26px, transparent 27px 51px); }
.art img { display: block; width: min(100%, 32rem); height: auto; border-radius: .6rem; }
.emblem { width: min(100%, 25rem); aspect-ratio: 1; position: relative; }
.emblem span, .emblem i, .emblem b { display: block; position: absolute; }
.emblem span { inset: 12%; background: var(--accent); border: 3px solid var(--ink);
  border-radius: 50%; box-shadow: -12px 16px 0 var(--ink); }
.emblem i { inset: 29%; border: 3px solid var(--ink); border-radius: 50%; }
.emblem b { inset: 44%; background: var(--ink); border-radius: 50%; }
.signal .emblem span { border-radius: 25% 62% 38% 54%; transform: rotate(29deg); }
.signal .emblem i { transform: rotate(-37deg); border-radius: 0; inset: 26% 44%; }
.slice .emblem span { border-radius: 68% 54% 57% 57%; transform: rotate(-22deg); inset: 7% 21%; }
.slice .emblem i { inset: 31% 36% 24%; background: var(--shade); }
.slice .emblem b { inset: 47% 44% 36%; background: var(--paper); }
.pair .emblem span { border-radius: 42% 45% 24% 53%; transform: rotate(-18deg); }
.pair .emblem i { inset: 32% 56% 42% 20%; background: var(--paper); }
.pair .emblem b { inset: 38% 17% 35% 53%; }
.cloud .emblem span { border-radius: 57% 35% 44% 32%; transform: rotate(-16deg); }
.cloud .emblem i { inset: 31% 23% 45% 37%; transform: rotate(28deg); }
.cloud .emblem b { inset: 58% 32% 24% 48%; }
.orbit .emblem i { inset: 8% 4%; transform: rotate(-31deg) scaleY(.42); border-width: 7px; }
.orbit .emblem b { inset: 68% 12% 17% 73%; background: var(--paper); border: 3px solid var(--ink); }
.gravity .emblem span { background: var(--ink); border-color: var(--paper); }
.gravity .emblem i { inset: 27%; border-color: var(--accent); border-style: dashed; }
.gravity .emblem b { inset: 41%; background: var(--accent); }
.scoop .emblem span { inset: 9% 15% 38%; border-radius: 49% 52% 38% 39%; }
.scoop .emblem i { inset: 55% 29% 8%; background: var(--ink); border: 0; border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%); }
.scoop .emblem b { inset: 25% 35% 62% 48%; background: var(--paper); }
.leaf .emblem span { border-radius: 65% 0 65% 4%; transform: rotate(-12deg); }
.leaf .emblem i { transform: rotate(-45deg); border-radius: 0; inset: 49% 12% 49% 25%; border-width: 2px; }
.leaf .emblem b { inset: 22% 28% 65% 59%; }
.sun .emblem span { inset: 23%; box-shadow: 0 0 0 22px var(--shade), -13px 23px 0 22px var(--ink); }
.sun .emblem i { inset: 34%; }
.sun .emblem b { inset: 46%; }
footer { font-size: .9rem; border-top: 1px solid color-mix(in srgb, var(--paper) 24%, transparent); }
.not-found { padding: clamp(1.5rem, 8vw, 5rem); }
.not-found a { display: inline-block; margin-top: 1.1rem; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .story { padding-block: 3rem; }
  h1 { font-size: clamp(2.45rem, 8.4vw, 5rem); }
  .art { min-height: 15rem; }
  .emblem { width: min(68%, 19rem); }
}
@media (forced-colors: active) {
  .project-link { border: 1px solid LinkText; }
  .emblem { display: none; }
  .art:has(.emblem) { display: none; }
}
