/* Totaal Verknipt, temporary page: the scissors logo in black on kraft paper, like the
   business cards. Every few seconds the scissors snip. */

:root {
  --kraft: #b5895d;
  --ink: #1d1d1b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Bungee", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  color: var(--ink);
  /* Real kraft paper: the photo from the business card design, mirrored into one tile so it
     repeats without seams. A little light in the middle on top of it. */
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 240, 215, 0.18), transparent 70%),
    var(--kraft) url("kraft.jpg") 0 0 / 1100px auto;
}

.stage {
  min-height: 100svh;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3svh, 28px);
  text-align: center;
}

h1 { margin: 0; line-height: 0; }

.logo {
  width: min(88vw, 62svh * 1.617);  /* the logo is 469 wide on 290 high */
  height: auto;
  overflow: visible;
  fill: var(--ink);
}

/* The name on the blades and the openings in the round mark: the same kraft paper. */
.logo .paper { fill: url(#kraft) var(--kraft); }

/* The two blades turn around the pivot (its middle in the drawing: 231.5, 175.5). */
.blade {
  transform-origin: 231.5px 175.5px;
  animation: snip 6s 0.8s ease-in-out infinite;
}

/* The blade with "Totaal" lies on top and slides over the other one. */
.blade-a { --turn: 7deg; }
.blade-b { --turn: -7deg; }

/* open a little wider, two quick snips, then rest */
@keyframes snip {
  0%, 30%, 100% { transform: rotate(0deg); }
  6%   { transform: rotate(calc(var(--turn) * -0.5)); }
  11%  { transform: rotate(var(--turn)); }
  16%  { transform: rotate(calc(var(--turn) * -0.5)); }
  21%  { transform: rotate(var(--turn)); }
}

@media (prefers-reduced-motion: reduce) {
  .blade { animation: none; }
}

.soon {
  margin: 0;
  font-size: clamp(13px, 2svh, 16px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.mail {
  font-size: clamp(15px, 2.6svh, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  overflow-wrap: anywhere;
}

.mail:hover,
.mail:focus-visible { border-color: currentColor; outline: none; }

/* Small button in the bottom left corner, to the site of Pippi Pommers. */
.friend {
  position: fixed;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.friend:hover,
.friend:focus-visible { background: var(--ink); color: var(--kraft); outline: none; }

/* The mark of basolthof.com in the bottom right corner, in the ink of the page. */
.maker {
  position: fixed;
  right: 12px;
  bottom: 8px;
  width: 48px;
  height: 48px;
  color: var(--ink);
  opacity: 0.75;
}

.maker svg { display: block; width: 100%; height: 100%; fill: currentColor; }

.maker:hover,
.maker:focus-visible { opacity: 1; outline: none; }
