/* VARIABLE FONTS */
@font-face {
  font-family: "Zenek Pixel";
  src: url("fonts/zenek-pixel.woff2") format("woff2");
}

@font-face {
  font-family: "Poly Pixel VF";
  src: url("fonts/pixel-sans-tanaka-remix.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ornamental Script VF";
  src: url("fonts/ornamental-script.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
}

/* TOP LOGO AREA */
.logo-landing {
  min-height: 50svh;
  padding: 0 clamp(1.2rem, 6vw, 6rem);
  display: grid;
  place-items: center;
  position: relative;
  line-height: 1;
  animation: colorChange 7s linear infinite;
}

/*.logo-small {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 60px;
  height: auto;
}*/

.logo-main {
  display: block;
  width: clamp(240px, 40vmin, 600px);
  max-width: 100%;
  height: auto;
  max-height: 80vh;
}

/* foundry description under logo */
.foundry-desc {
  margin-top: 1rem;
  max-width: 70ch;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.45;
  color: rgba(0,0,0,0.85);
}

/* BACKGROUND COLOR LOOP */
@keyframes colorChange {
  0%   { background-color: #0097bc; }
  25%  { background-color: #1f9b71; }
  50%  { background-color: #e1c054; }
  75%  { background-color: #e97571; }
  100% { background-color: #0097bc; }
}

/* EDITION SECTIONS */
.edition {
  background-color: #1f9b71;
  padding: 0; /* strips + white panel handle spacing */
}

/* MARQUEE STRIPS (true infinite) */
.marquee {
  background: #000;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;              /* keeps track as wide as its contents */
  will-change: transform;
  animation: marquee 14s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  padding-block: 10px;
  padding-inline: 16px;
  font-family: "Zenek Pixel", system-ui, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
}

/* specimen links buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  color: #000;
  border: 1px solid rgba(0,0,0,0.6);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  background: #fff;
  transition: transform 160ms ease, opacity 160ms ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.95; }
.btn:active { transform: translateY(0px); opacity: 0.9; }

.specimen-btn {
  border-color: rgba(0,0,0,0.65);
}

/* speed + direction variety */
.marquee.fast .marquee-track { animation-duration: 10s; }
.marquee.slow .marquee-track { animation-duration: 18s; }
.marquee.reverse .marquee-track { animation-direction: reverse; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* works because we duplicate content */
}

/* WHITE PANEL (full-width and touches marquees) */
.edition-body {
  background: #ffffff;
  width: 100%;
}

/* inner layout stays readable */
.edition-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 36px);

  display: flex;
  gap: clamp(16px, 4vw, 40px);
  align-items: center;
  justify-content: space-between;
}

/* each inner item gets room */
.edition-inner > * {
  flex: 1;
}

/* DOWNLOAD BURST BUTTONS (might add a hrefs to specimens in the future for the others) */
.download-btn {
  text-decoration: none;
  cursor: pointer;
}

.burst {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-family: "Zenek Pixel", system-ui, sans-serif;
  font-size: clamp(16px, 3vw, 24px);
  color: #000;

  width: min(220px, 60vw);
  aspect-ratio: 1;

  padding: 1rem;

  clip-path: polygon(
    50% 0%,
    63% 12%,
    80% 10%,
    88% 25%,
    100% 35%,
    94% 52%,
    100% 68%,
    85% 75%,
    80% 90%,
    62% 88%,
    50% 100%,
    38% 88%,
    20% 90%,
    15% 75%,
    0% 68%,
    6% 52%,
    0% 35%,
    12% 25%,
    20% 10%,
    37% 12%
  );

  transition: transform 180ms ease;
}

.burst:hover { transform: scale(1.03); }
.burst:active { transform: scale(0.99); }

.burst span {
  display: block;
  padding-inline: 0.5rem;
}

/* download svg inside burst */
.download-svg {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 0.55rem;
}

/* infinite back-and-forth rotation 
.wiggle {
  transform-origin: 50% 50%;
  animation: wiggle-rotate 1.6s ease-in-out infinite alternate;
}

@keyframes wiggle-rotate {
  from { transform: rotate(-10deg); }
  to   { transform: rotate(10deg); }
}*/

/* keep download button layout stacked */
.download-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.burst-zenek { background-color: #e97571; }
.burst-ornamental { background-color: #e1c054; }
.burst-poly { background-color: #0097bc; }

/* TESTERS (typed previews) */
.tester {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  border-radius: 10px;

  border: 2px solid #1f9b71;
  padding: clamp(12px, 2vw, 18px);

  color: #000;
  background: #fff;

  outline: none;
}

/* each tester uses its font + animation */
.tester-zenek {
  font-family: "Zenek Pixel";
}
.tester-ornamental {
  font-family: "Ornamental Script VF";
} 
.tester-poly {
  font-family: "Poly Pixel VF";
} 
