@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@400;600;800&display=swap');

:root {
  --bg: #090909;
  --panel: #111111;
  --text: #e7e7e7;
  --muted: #888;
  --accent: #ff1212;
  --line: #2a2a2a;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image:
    repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  z-index: 20;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 84px;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  font-size: 28px;
  transform: skew(-8deg);
}
.brand-mark { color: var(--text); }
.brand-labs { color: var(--accent);}
nav { display: flex; gap: 30px; }
nav a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  color: #aaa;
}
nav a:hover { color: var(--accent); }

.hero {
  min-height: 720px;
  max-width: var(--max);
  margin: auto;
  padding: 120px 28px 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero::after {
  content: "13";
  position: absolute;
  right: -10px;
  top: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(280px, 45vw, 650px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 10px #111;
  z-index: -1;
  animation: subtleGlitch 6.5s infinite;
}
.hero-slash {
  width: 8px;
  height: 260px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 190px;
  transform: skew(-18deg);
  box-shadow: 12px 0 0 #262626, 24px 0 0 #1b1b1b;
}
.eyebrow, .section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--accent);
}
.hero h1, h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-style: italic;
  line-height: .78;
  letter-spacing: -5px;
  margin: 22px 0 35px;
}
.hero h1 { font-size: clamp(90px, 15vw, 190px); }
.hero h1 span, h2 em, .shop-main h1 span { color: var(--accent); }
.hero-copy {
  max-width: 600px;
  color: #aaa;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 38px;
}
.metal-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  width: fit-content;
  padding: 15px 18px;
  background: #dcdcdc;
  color: #080808;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  transition: .2s ease;
}
.metal-button:hover {
  background: var(--accent);
  transform: translateX(4px);
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 110px 28px;
  border-top: 1px solid var(--line);
}
.section-label { margin-bottom: 65px; color: #666; }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about h2, .cta h2 { font-size: clamp(80px, 10vw, 140px); }
.about-content p {
  color: #aaa;
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 24px;
  max-width: 580px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.work-card {
  grid-column: span 4;
  margin: 0;
  background: var(--panel);
  border: 1px solid #222;
  padding: 8px;
}
.work-card.featured { grid-column: span 8; }
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.15);
  background:
    linear-gradient(135deg, #222, #080808);
}
.work-card:hover img { filter: grayscale(.2) contrast(1.15); }
.work-card figcaption {
  padding: 12px 6px 8px;
  color: #666;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}
.work-card figcaption span { color: var(--accent); }
.work-description {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.cta-art {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(220px, 35vw, 500px);
  line-height: .7;
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 10px #111;
  z-index: -1;
  animation: subtleGlitch 6.5s infinite;
}
.cta p { color: #888; margin-bottom: 30px; }

.shop-main {
  max-width: 1000px;
  min-height: calc(100vh - 160px);
  margin: auto;
  padding: 100px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.shop-symbol {
  position: absolute;
  right: 0;
  top: 80px;
  font-family: "Barlow Condensed";
  font-size: 30vw;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #222;
  z-index: -1;
}
.shop-main h1 {
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-style: italic;
  font-size: clamp(75px, 13vw, 150px);
  line-height: .8;
  letter-spacing: -4px;
  margin: 25px 0 35px;
}
.shop-main > p:not(.eyebrow) {
  color: #999;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 35px;
}

footer {
  max-width: var(--max);
  margin: auto;
  padding: 35px 28px 45px;

  border-top: 1px solid var(--line);

  color: #555;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}


/* =========================================================
   TOP ROW
   ========================================================= */

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  align-items: center;

  text-align: center;
}


/* Left */

.footer-brand {
  text-align: left;

  color: #aaa;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}


/* Center */

.footer-top > div:nth-child(2) {
  text-align: center;
}


/* Right */

.footer-top > div:nth-child(3) {
  text-align: right;
}


/* =========================================================
   MAL.JS LINK
   ========================================================= */

.footer-top a {
  color: #aaa;
  text-decoration: none;

  transition: color .2s ease;
}

.footer-top a:hover {
  color: var(--accent);
}


/* =========================================================
   SIGIL
   ========================================================= */

.footer-sigil {
  display: flex;

  justify-content: center;
  align-items: center;

  /*
   * Give the sigil some breathing room from the
   * copyright row above it.
   */
  margin-top: 30px;

  /*
   * The actual sigil is 160px wide, but its oversized
   * 1 extends beyond its nominal bounds.
   */
  height: 145px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .footer-top {
    grid-template-columns: 1fr;

    gap: 14px;

    text-align: center;
  }

  .footer-brand,
  .footer-top > div:nth-child(2),
  .footer-top > div:nth-child(3) {
    text-align: center;
  }

  .footer-sigil {
    margin-top: 25px;
  }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }
  nav { gap: 15px; }
  nav a { font-size: 12px; letter-spacing: 1px; }
  .hero { min-height: 650px; padding: 90px 20px; }
  .hero-slash { height: 190px; top: 180px; }
  .hero h1 { letter-spacing: -3px; }
  .about-content, .cta { grid-template-columns: 1fr; gap: 35px; }
  .section { padding: 80px 20px; }
  .gallery { display: block; }
  .work-card, .work-card.featured { margin-bottom: 18px; }
  footer { flex-direction: column; padding: 28px 20px; }
  .shop-main { padding: 80px 20px; }
}

@keyframes subtleGlitch {
  0%,
  91%,
  100% {
    transform: translate(0);
    filter: none;
  }

  92% {
    transform: translate(-3px, 0);
    filter: drop-shadow(2px 0 0 rgba(255, 0, 40, 0.35));
  }

  93% {
    transform: translate(4px, 1px);
    filter:
      drop-shadow(-3px 0 0 rgba(0, 220, 255, 0.35))
      drop-shadow(2px 0 0 rgba(255, 0, 40, 0.35));
  }

  94% {
    transform: translate(-2px, -1px);
    filter:
      drop-shadow(3px 0 0 rgba(255, 0, 40, 0.25));
  }

  95% {
    transform: translate(1px, 0);
    filter: blur(0.5px);
  }

  96% {
    transform: translate(0);
    filter: none;
  }
}

/* ============================================================
   ROT13LABS
   R13 SIGIL — FINAL TUNING
   ============================================================ */

.rot13-sigil {
  position: relative;

  width: 160px;
  height: 160px;

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-style: italic;

  color: #e7e7e7;

  display: inline-block;

  transform: rotate(-6deg);

  isolation: isolate;
}


/* ============================================================
   R
   ============================================================ */

.sigil-r {
  position: absolute;

  left: 7px;
  top: 5px;

  font-size: 155px;
  line-height: .8;

  transform:
    scaleX(.78)
    skewX(-7deg);

  z-index: 1;

  /*
   * REMOVED THE MASK.
   *
   * This keeps the curved bowl of the R intact.
   */
}


/* ============================================================
   1
   CENTRAL SPINE
   ============================================================ */

.sigil-one {
  position: absolute;

  /*
   * Move the 1 slightly left so it actually
   * becomes the center of the composition.
   */
  left: 57px;
  top: -10px;

  font-size: 190px;
  line-height: .8;

  transform:
    scaleX(.20)
    rotate(3deg);

  color: transparent;

  -webkit-text-stroke: 6px #e7e7e7;

  /*
   * IMPORTANT:
   * The 1 is now the topmost element.
   */
  z-index: 10;
}


/* ============================================================
   3
   RIGHT-HAND CURVE
   ============================================================ */

.sigil-three {
  position: absolute;

  /*
   * Push the 3 farther right.
   *
   * This prevents the eye from reading it before
   * the central 1.
   */
  left: 50px;
  top: 27px;

  font-size: 148px;
  line-height: .8;

  transform:
    scaleX(.76)
    rotate(-2deg);

  color: transparent;

  -webkit-text-stroke: 7px #e7e7e7;

  z-index: 2;

  /*
   * Keep the 3 intact as well.
   */
}


/* ============================================================
   CENTRAL HORIZONTAL BREAK
   ============================================================ */

.rot13-sigil::before {
  content: "";

  position: absolute;

  width: 118px;
  height: 5px;

  left: 18px;
  top: 77px;

  background: #e7e7e7;

  transform: rotate(-6deg);

  z-index: 11;
}


/* ============================================================
   HOVER
   ============================================================ */

.sigil-r,
.sigil-one,
.sigil-three {
  transition:
    transform 300ms cubic-bezier(.2,.8,.2,1);
}

.rot13-sigil:hover .sigil-r {
  transform:
    translateX(-4px)
    scaleX(.78)
    skewX(-7deg);
}

.rot13-sigil:hover .sigil-one {
  transform:
    translateY(-5px)
    scaleX(.20)
    rotate(3deg);
}

.rot13-sigil:hover .sigil-three {
  transform:
    translateX(6px)
    scaleX(.76)
    rotate(-2deg);
}


/* ============================================================
   SUBTLE HOVER GLOW
   ============================================================ */

.rot13-sigil:hover {
  filter:
    drop-shadow(
      0 0 8px
      rgba(217,255,0,.2)
    );
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {
  .rot13-sigil {
    transform: scale(.8) rotate(-6deg);
    transform-origin: center;
  }
}